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
- Source:
- AnalyzerReference.cs
Caution
Use GetGenerators(string language) or GetGeneratorsForAllLanguages()
Gets all the source generators defined in this assembly reference.
[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)
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
- 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에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET