UserSecretsIdAttribute Classe

Definizione

Rappresenta l'ID dei segreti utente.

public ref class UserSecretsIdAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)]
public class UserSecretsIdAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)>]
type UserSecretsIdAttribute = class
    inherit Attribute
Public Class UserSecretsIdAttribute
Inherits Attribute
Ereditarietà
UserSecretsIdAttribute
Attributi

Commenti

Nella maggior parte dei casi, questo attributo viene generato automaticamente durante la compilazione dalle destinazioni MSBuild incluse nel pacchetto NuGet UserSecrets. Queste destinazioni usano la proprietà MSBuild 'UserSecretsId' per impostare il valore per UserSecretsId.

Costruttori

Nome Descrizione
UserSecretsIdAttribute(String)

Inizializza un'istanza di UserSecretsIdAttribute.

Proprietà

Nome Descrizione
UserSecretsId

Ottiene l'ID dei segreti utente.

Si applica a