Interface IIterativelyModifiesDocument
An object which uses an expression-context iterator to iteratively make alterations to the document, on a context-by-context basis.
Namespace: ZptSharp.Rendering
Assembly: ZptSharp.Abstractions.dll
Syntax
public interface IIterativelyModifiesDocument
Methods
| Improve this Doc View SourceModifyDocumentAsync(ExpressionContext, IProcessesExpressionContext, CancellationToken)
Modifies the document using the specified context processor.
Declaration
Task ModifyDocumentAsync(ExpressionContext rootContext, IProcessesExpressionContext contextProcessor, CancellationToken token = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
ExpressionContext | rootContext | The root expression context. |
IProcessesExpressionContext | contextProcessor | The processor to use when processing each expression context. |
System.Threading.CancellationToken | token | A cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |