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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.