AnalyzerReference.GetGenerators Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetGenerators() |
Obsolete.
Gets all the source generators defined in this assembly reference. |
GetGenerators(String) |
Gets all the generators defined in this assembly reference for the given |
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
Caution
Use GetGenerators(string language) or GetGeneratorsForAllLanguages()
Gets all the source generators defined in this assembly reference.
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)
Returns
- Attributes
Applies to
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
Gets all the generators defined in this assembly reference for the given 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)
Parameters
- language
- String
Language name.
Returns
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET