ComponentUtilities.SyntaxFiltersFrom Method
Definition
- Namespace
- Sandcastle.Core
- Assembly
- Sandcastle.Core.dll
This is used to return a collection of syntax filters based on the comma-separated list of IDs passed to the method.
public static IEnumerable<ISyntaxGeneratorMetadata> SyntaxFiltersFrom(IEnumerable<ISyntaxGeneratorMetadata> allFilters, string filterIds)
Parameters
allFiltersIEnumerable<ISyntaxGeneratorMetadata>The list of all available syntax filter generators
filterIdsstringA comma-separated list of syntax filter ID values.
Returns
- IEnumerable<ISyntaxGeneratorMetadata>
An enumerable list of ISyntaxGeneratorMetadata representing the syntax filters found.
Remarks
The following special IDs are also recognized: None = No filters, All = all filters, AllButUsage = All but syntax filters with "Usage" in their ID (i.e. VisualBasicUsage), Standard = C#, VB.NET, and C++ only.