API Reference
Class
RuleDiscoveryOptions
Options controlling rule discovery (assemblies, tags, runtime filters).
Inheritance
- Object
- RuleDiscoveryOptions
Constructors
public RuleDiscoveryOptions() #Inherited Methods
Properties
public IEnumerable<String> IncludeRules { get; set; } #Explicit list of rule names to include.
public IEnumerable<String> ExcludeRules { get; set; } #Rule names to exclude.
public IEnumerable<CSharpRule> IncludeCSharpRules { get; set; } #Include only these C# rules (by strong-typed reference).
public IEnumerable<CSharpRule> ExcludeCSharpRules { get; set; } #Exclude these C# rules (by strong-typed reference).
public Boolean IncludeDisabled { get; set; } #When true, discovery returns disabled rules as well.
public String PowerShellDirectory { get; set; } #Optional path to additional PowerShell rules.
public Boolean ShowDiscoveryProgress { get; set; } #Show discovery progress messages in the console.