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>