Adds an analyzer by type.
- Namespace
- Statiq
.Common - Containing Type
- I
Analyzer Collection Extensions
Syntax
public static void Add<TAnalyzer>(this IAnalyzerCollection analyzers, string name, LogLevel logLevel)
where TAnalyzer : IAnalyzer
Type Parameters
Name | Description |
---|---|
TAnalyzer | The type of the analyzer to add. |
Parameters
Name | Type | Description |
---|---|---|
analyzers | IAnalyzerCollection | The analyzers. |
name | string | The name of the analyzer. |
logLevel | LogLevel | Sets the log level of the analyzer being added. |