Interface IModifiesDocument
A service which coordinates and performs the modifications to a document before it is ready to be output.
Namespace: ZptSharp.Rendering
Assembly: ZptSharp.Abstractions.dll
Syntax
public interface IModifiesDocument
Methods
| Improve this Doc View SourceModifyDocumentAsync(IDocument, Object, CancellationToken)
Performs alterations for a specified document, using the specified rendering request.
This method will manipulate the document, according to the rules of ZPT.
Declaration
Task ModifyDocumentAsync(IDocument document, object model, CancellationToken token = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| IDocument | document | The document to render. |
| System.Object | model | The model to render. |
| System.Threading.CancellationToken | token | An object used to cancel the operation if required. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A task indicating when the process is complete. |