Checks whether the input document should be processed.
- Namespace
- Statiq
.Core - Containing Type
- WriteFiles
Syntax
protected Task<bool> ShouldProcessAsync(IDocument input, IExecutionContext context)
Parameters
Name | Type | Description |
---|---|---|
input | IDocument | The input document to check. |
context | IExecutionContext | The execution context. |
Return Value
Type | Description |
---|---|
Task |
true if the input document should be processed, false otherwise. |