RuleSet Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a RuleSet.
public:
RuleSet(System::String ^ filePath, Microsoft::CodeAnalysis::ReportDiagnostic generalOption, System::Collections::Immutable::ImmutableDictionary<System::String ^, Microsoft::CodeAnalysis::ReportDiagnostic> ^ specificOptions, System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::RuleSetInclude ^> includes);
public RuleSet (string filePath, Microsoft.CodeAnalysis.ReportDiagnostic generalOption, System.Collections.Immutable.ImmutableDictionary<string,Microsoft.CodeAnalysis.ReportDiagnostic> specificOptions, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.RuleSetInclude> includes);
new Microsoft.CodeAnalysis.RuleSet : string * Microsoft.CodeAnalysis.ReportDiagnostic * System.Collections.Immutable.ImmutableDictionary<string, Microsoft.CodeAnalysis.ReportDiagnostic> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.RuleSetInclude> -> Microsoft.CodeAnalysis.RuleSet
Public Sub New (filePath As String, generalOption As ReportDiagnostic, specificOptions As ImmutableDictionary(Of String, ReportDiagnostic), includes As ImmutableArray(Of RuleSetInclude))
Parameters
- filePath
- String
- generalOption
- ReportDiagnostic
- specificOptions
- ImmutableDictionary<String,ReportDiagnostic>
- includes
- ImmutableArray<RuleSetInclude>
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.