GeneratorAttribute Constructors
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
GeneratorAttribute() |
Attribute constructor used to specify the attached class is a source generator that provides CSharp sources. |
GeneratorAttribute(String, String[]) |
Attribute constructor used to specify the attached class is a source generator and indicate which language(s) it supports. |
GeneratorAttribute()
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
Attribute constructor used to specify the attached class is a source generator that provides CSharp sources.
public GeneratorAttribute ();
Public Sub New ()
Applies to
GeneratorAttribute(String, String[])
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
- Source:
- GeneratorAttribute.cs
Attribute constructor used to specify the attached class is a source generator and indicate which language(s) it supports.
public GeneratorAttribute (string firstLanguage, params string[] additionalLanguages);
new Microsoft.CodeAnalysis.GeneratorAttribute : string * string[] -> Microsoft.CodeAnalysis.GeneratorAttribute
Public Sub New (firstLanguage As String, ParamArray additionalLanguages As String())
Parameters
- firstLanguage
- String
One language to which the generator applies.
- additionalLanguages
- String[]
Additional languages to which the generator applies. See LanguageNames.
Applies to
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de