AddDocument(IAnalyzerCollection, string, LogLevel, string, Phase, Func<IDocument, IAnalyzerContext, Task>) Method
Namespace
Statiq.Common
Containing Type
IAnalyzerCollectionExtensions

Syntax

public static void AddDocument(this IAnalyzerCollection analyzers, string name, LogLevel logLevel, string pipeline, Phase phase, Func<IDocument, IAnalyzerContext, Task> analyzeFunc)

Parameters

Name Type Description
analyzers IAnalyzerCollection
name string
logLevel LogLevel
pipeline string
phase Phase
analyzeFunc Func<IDocument, IAnalyzerContext, Task>