Lingua

AIFunctionNameAttribute Classe

Definizione

Specifica il nome da utilizzare per un oggetto AIFunction.

public ref class AIFunctionNameAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public sealed class AIFunctionNameAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class AIFunctionNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type AIFunctionNameAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type AIFunctionNameAttribute = class
    inherit Attribute
Public NotInheritable Class AIFunctionNameAttribute
Inherits Attribute
Ereditarietà
AIFunctionNameAttribute
Attributi

Commenti

Il nome è l'identificatore che un modello vede e usa per richiamare una funzione. Per impostazione predefinita, questo viene dedotto dai metadati .NET. Applicare questo attributo per usare un identificatore diverso.

Costruttori

Nome Descrizione
AIFunctionNameAttribute(String)

Inizializza una nuova istanza della classe AIFunctionNameAttribute.

Proprietà

Nome Descrizione
Name

Ottiene il nome da utilizzare per la funzione.

Si applica a