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