AnalyzerReference.GetGenerators 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetGenerators() |
已过时.
获取此程序集引用中定义的所有源生成器。 |
GetGenerators(String) |
获取给定程序集引用 |
GetGenerators()
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
注意
Use GetGenerators(string language) or GetGeneratorsForAllLanguages()
获取此程序集引用中定义的所有源生成器。
[System.Obsolete("Use GetGenerators(string language) or GetGeneratorsForAllLanguages()")]
public virtual System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> GetGenerators ();
public virtual System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> GetGenerators ();
[<System.Obsolete("Use GetGenerators(string language) or GetGeneratorsForAllLanguages()")>]
abstract member GetGenerators : unit -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator>
override this.GetGenerators : unit -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator>
abstract member GetGenerators : unit -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator>
override this.GetGenerators : unit -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator>
Public Overridable Function GetGenerators () As ImmutableArray(Of ISourceGenerator)
返回
- 属性
适用于
GetGenerators(String)
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
- Source:
- AnalyzerReference.cs
获取给定程序集引用 language
中定义的所有生成器。
public virtual System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> GetGenerators (string language);
abstract member GetGenerators : string -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator>
override this.GetGenerators : string -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator>
Public Overridable Function GetGenerators (language As String) As ImmutableArray(Of ISourceGenerator)
参数
- language
- String
语言名称。