Class ZptDocumentRendererFactory
A factory which creates instances of EffectiveConfigSettingZptDocumentRendererDecorator from a RenderingConfig and optionally a System.Type which indicates the IReadsAndWritesDocument to be used.
Inheritance
System.Object
ZptDocumentRendererFactory
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 ZptDocumentRendererFactory : IGetsZptDocumentRenderer
Constructors
| Improve this Doc View SourceZptDocumentRendererFactory(IServiceProvider)
Initializes a new instance of the ZptDocumentRendererFactory class.
Declaration
public ZptDocumentRendererFactory(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | serviceProvider | Service provider. |
Methods
| Improve this Doc View SourceGetDocumentRenderer(Type)
Gets the document renderer.
Declaration
public IRendersZptDocument GetDocumentRenderer(Type readerWriterType = null)
Parameters
Type | Name | Description |
---|---|---|
System.Type | readerWriterType | A specific document reader/writer implementation type. |
Returns
Type | Description |
---|---|
IRendersZptDocument | The document renderer. |