RuleSet 构造函数

定义

创建 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

适用于