Class ZptDocumentRendererForFilePathFactory
Implementation of IGetsZptDocumentRendererForFilePath which uses a file path to get a suitable implementation of IRendersZptDocument.
Inheritance
System.Object
ZptDocumentRendererForFilePathFactory
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp.Rendering
Assembly: ZptSharp.dll
Syntax
public class ZptDocumentRendererForFilePathFactory : IGetsZptDocumentRendererForFilePath
Constructors
| Improve this Doc View SourceZptDocumentRendererForFilePathFactory(IServiceProvider)
Initializes a new instance of the ZptDocumentRendererForFilePathFactory class.
Declaration
public ZptDocumentRendererForFilePathFactory(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | serviceProvider | Service provider. |
Methods
| Improve this Doc View SourceGetDocumentRenderer(String)
Gets the document renderer.
Declaration
public IRendersZptDocument GetDocumentRenderer(string filePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The path to a file which would be rendered by the renderer. |
Returns
Type | Description |
---|---|
IRendersZptDocument | The document renderer. |