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
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示