Interface IRendersInputFile
An object which renders a single file as part of a bulk-rendering operation.
Namespace: ZptSharp.BulkRendering
Assembly: ZptSharp.dll
Syntax
public interface IRendersInputFile
Methods
| Improve this Doc View SourceRenderAsync(BulkRenderingRequest, InputFile, CancellationToken)
Renders the template described by inputFile
asynchronously
and returns a result object.
Declaration
Task<BulkRenderingFileResult> RenderAsync(BulkRenderingRequest request, InputFile inputFile, CancellationToken token = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
BulkRenderingRequest | request | The original request to bulk-render files. |
InputFile | inputFile | The file to be rendered. |
System.Threading.CancellationToken | token | An optional cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BulkRenderingFileResult> | A result object indicating the outcome. |