Analyzes an individual document.
- Namespace
- Statiq
.Common - Containing Type
- Analyzer
Syntax
protected virtual Task AnalyzeDocumentAsync(IDocument document, IAnalyzerContext context)
Remarks
This method will be called for each document unless
AnalyzeAsync(IAnalyzerContext)
is overridden.
Parameters
Name | Type | Description |
---|---|---|
document | IDocument | The document to analyze. |
context | IAnalyzerContext | An analysis context that contains the documents to analyze as well as other state information. |
Return Value
Type | Description |
---|---|
Task |