AnalyzerFileReference.GetGenerators 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetGenerators() |
已淘汰.
|
GetGenerators(String) |
GetGenerators()
警告
Use GetGenerators(string language) or GetGeneratorsForAllLanguages()
[System.Obsolete("Use GetGenerators(string language) or GetGeneratorsForAllLanguages()")]
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> GetGenerators ();
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> GetGenerators ();
[<System.Obsolete("Use GetGenerators(string language) or GetGeneratorsForAllLanguages()")>]
override this.GetGenerators : unit -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator>
override this.GetGenerators : unit -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator>
Public Overrides Function GetGenerators () As ImmutableArray(Of ISourceGenerator)
傳回
- 屬性
適用於
GetGenerators(String)
public override System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> GetGenerators (string language);
override this.GetGenerators : string -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator>
Public Overrides Function GetGenerators (language As String) As ImmutableArray(Of ISourceGenerator)
參數
- language
- String