Compartilhar via


AnalyzerReference.GetGenerators Método

Definição

Sobrecargas

GetGenerators()
Obsoleto.

Obtém todos os geradores de origem definidos nesta referência de assembly.

GetGenerators(String)

Obtém todos os geradores definidos nesta referência de assembly para o determinado language.

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

Cuidado

Use GetGenerators(string language) or GetGeneratorsForAllLanguages()

Obtém todos os geradores de origem definidos nesta referência de assembly.

public virtual System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> GetGenerators ();
[System.Obsolete("Use GetGenerators(string language) or GetGeneratorsForAllLanguages()")]
public virtual System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator> GetGenerators ();
abstract member GetGenerators : unit -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator>
override this.GetGenerators : unit -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISourceGenerator>
[<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>
Public Overridable Function GetGenerators () As ImmutableArray(Of ISourceGenerator)

Retornos

Atributos

Aplica-se a

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

Obtém todos os geradores definidos nesta referência de assembly para o determinado 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)

Parâmetros

language
String

Nome do idioma.

Retornos

Aplica-se a