Add(IAnalyzerCollection, string, LogLevel, IAnalyzer) Method
Adds an analyzer, inferring the name from the type name and removing a trailing "Analyzer" from the type name.
Namespace
Statiq.Common
Containing Type
IAnalyzerCollectionExtensions

Syntax

public static void Add(this IAnalyzerCollection analyzers, string name, LogLevel logLevel, IAnalyzer analyzer)

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.
analyzer IAnalyzer The analyzer to add.