Add<TAnalyzer>(IAnalyzerCollection, string) Method
Adds an analyzer by type.
Namespace
Statiq.Common
Containing Type
IAnalyzerCollectionExtensions

Syntax

public static void Add<TAnalyzer>(this IAnalyzerCollection analyzers, string name) 
    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.