API Reference
Class
AnalysisPack
Defines a curated set of rules with optional severity overrides.
Inheritance
- Object
- AnalysisPack
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property AnalysisCatalog.Packs
Accepted by parameters
- Constructor AnalysisCatalog.AnalysisCatalog
- Method AnalysisCatalog.TryGetPack
Constructors
public AnalysisPack(String id, String label, String description, IReadOnlyList<String> rules, IReadOnlyDictionary<String, String> severityOverrides, String sourcePath, IReadOnlyList<String> includes = null) #Creates a new pack definition.
Parameters
- id System.String
- label System.String
- description System.String
- rules System.Collections.Generic.IReadOnlyList{System.String}
- severityOverrides System.Collections.Generic.IReadOnlyDictionary{System.String,System.String}
- sourcePath System.String
- includes System.Collections.Generic.IReadOnlyList{System.String} = null
Inherited Methods
Properties
public IReadOnlyList<String> Rules { get; } #Rule IDs included in the pack.
public IReadOnlyDictionary<String, String> SeverityOverrides { get; } #Optional severity overrides applied by the pack.
public IReadOnlyList<String> Includes { get; } #Optional included pack IDs. Included packs are resolved before this pack.
public String SourcePath { get; } #Source file path for the pack definition.