Class ZptDocumentModifierFactory
An implementation of IGetsDocumentModifier which assembles an instance of IModifiesDocument using the decorator pattern. Each implementation of the service wraps another, augmenting its functionality.
Inheritance
System.Object
ZptDocumentModifierFactory
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 ZptDocumentModifierFactory : IGetsDocumentModifier
Constructors
| Improve this Doc View SourceZptDocumentModifierFactory(IGetsMetalContextProcessor, IGetsTalContextProcessor, IGetsSourceAnnotationContextProcessor, IIterativelyModifiesDocument, IGetsZptNodeAndAttributeRemovalContextProcessor, RenderingConfig, IGetsRootExpressionContext)
Initializes a new instance of the ZptDocumentModifierFactory class.
Declaration
public ZptDocumentModifierFactory(IGetsMetalContextProcessor metalProcessorFactory, IGetsTalContextProcessor talProcessorFactory, IGetsSourceAnnotationContextProcessor sourceAnnotationProcessorFactory, IIterativelyModifiesDocument iterativeModifier, IGetsZptNodeAndAttributeRemovalContextProcessor cleanupProcessorFactory, RenderingConfig config, IGetsRootExpressionContext rootContextProvider)
Parameters
Type | Name | Description |
---|---|---|
IGetsMetalContextProcessor | metalProcessorFactory | Metal processor factory. |
IGetsTalContextProcessor | talProcessorFactory | Tal processor factory. |
IGetsSourceAnnotationContextProcessor | sourceAnnotationProcessorFactory | Source annotation processor factory. |
IIterativelyModifiesDocument | iterativeModifier | Iterative modifier. |
IGetsZptNodeAndAttributeRemovalContextProcessor | cleanupProcessorFactory | Cleanup processor factory. |
RenderingConfig | config | Rendering config. |
IGetsRootExpressionContext | rootContextProvider | A provider for the root expression context. |
Methods
| Improve this Doc View SourceGetDocumentModifier()
Gets the document modifier implementation.
Declaration
public IModifiesDocument GetDocumentModifier()
Returns
Type | Description |
---|---|
IModifiesDocument | The document modifier. |
Remarks
In addition, the SourceAnnotationDocumentModifierDecorator is only included if IncludeSourceAnnotation is true.