Class BulkFileRenderer
Implementation of IRendersManyFiles which handles requests to render & write many template files at once.
Inheritance
System.Object
BulkFileRenderer
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.BulkRendering
Assembly: ZptSharp.dll
Syntax
public class BulkFileRenderer : IRendersManyFiles
Constructors
| Improve this Doc View SourceBulkFileRenderer(IValidatesBulkRenderingRequest, IGetsInputFiles, IRendersInputFile)
Initializes a new instance of BulkFileRenderer.
Declaration
public BulkFileRenderer(IValidatesBulkRenderingRequest requestValidator, IGetsInputFiles inputFilesProvider, IRendersInputFile inputFileRenderer)
Parameters
Type | Name | Description |
---|---|---|
IValidatesBulkRenderingRequest | requestValidator | A request validator. |
IGetsInputFiles | inputFilesProvider | A service to get the input files from the request. |
IRendersInputFile | inputFileRenderer | A service to render individual input files. |
Methods
| Improve this Doc View SourceRenderAllAsync(BulkRenderingRequest, CancellationToken)
Renders all of the documents described in the request
and
gets a result object.
Declaration
public Task<BulkRenderingResult> RenderAllAsync(BulkRenderingRequest request, CancellationToken token = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
BulkRenderingRequest | request | The request object, describing the files to be rendered. |
System.Threading.CancellationToken | token | An optional cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BulkRenderingResult> | A result/outcome object. |