RuleSet 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 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))
參數
- filePath
- String
- generalOption
- ReportDiagnostic
- specificOptions
- ImmutableDictionary<String,ReportDiagnostic>
- includes
- ImmutableArray<RuleSetInclude>