UserSecretsIdAttribute Třída

Definice

Představuje ID tajných kódů uživatele.

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
Dědičnost
UserSecretsIdAttribute
Atributy

Poznámky

Ve většině případů se tento atribut automaticky generuje během kompilace cíli MSBuild zahrnuté v balíčku NuGet UserSecrets. Tyto cíle používají vlastnost MSBuild UserSecretsId k nastavení hodnoty pro UserSecretsId.

Konstruktory

Name Description
UserSecretsIdAttribute(String)

Inicializuje instanci .UserSecretsIdAttribute

Vlastnosti

Name Description
UserSecretsId

Získá ID tajných kódů uživatele.

Platí pro