AnalyzerConfigSet.Create 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Create<TList>(TList) | |
Create<TList>(TList, ImmutableArray<Diagnostic>) |
Create<TList>(TList)
public static Microsoft.CodeAnalysis.AnalyzerConfigSet Create<TList> (TList analyzerConfigs) where TList : System.Collections.Generic.IReadOnlyCollection<Microsoft.CodeAnalysis.AnalyzerConfig>;
static member Create : 'List -> Microsoft.CodeAnalysis.AnalyzerConfigSet (requires 'List :> System.Collections.Generic.IReadOnlyCollection<Microsoft.CodeAnalysis.AnalyzerConfig>)
Public Shared Function Create(Of TList As IReadOnlyCollection(Of AnalyzerConfig)) (analyzerConfigs As TList) As AnalyzerConfigSet
類型參數
- TList
參數
- analyzerConfigs
- TList
傳回
適用於
Create<TList>(TList, ImmutableArray<Diagnostic>)
public static Microsoft.CodeAnalysis.AnalyzerConfigSet Create<TList> (TList analyzerConfigs, out System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic> diagnostics) where TList : System.Collections.Generic.IReadOnlyCollection<Microsoft.CodeAnalysis.AnalyzerConfig>;
static member Create : 'List * ImmutableArray -> Microsoft.CodeAnalysis.AnalyzerConfigSet (requires 'List :> System.Collections.Generic.IReadOnlyCollection<Microsoft.CodeAnalysis.AnalyzerConfig>)
Public Shared Function Create(Of TList As IReadOnlyCollection(Of AnalyzerConfig)) (analyzerConfigs As TList, ByRef diagnostics As ImmutableArray(Of Diagnostic)) As AnalyzerConfigSet
類型參數
- TList
參數
- analyzerConfigs
- TList
- diagnostics
- ImmutableArray<Diagnostic>