Adds an analyzer, inferring the name from the type name and removing a trailing "Analyzer" from the type name.
- Namespace
- Statiq
.Common - Containing Type
- I
Analyzer Collection Extensions
Syntax
public static void Add(this IAnalyzerCollection analyzers, IAnalyzer analyzer)
Parameters
| Name | Type | Description |
|---|---|---|
| analyzers | IAnalyzerCollection | The analyzers. |
| analyzer | IAnalyzer | The analyzer to add. |