UserSecretsIdAttribute Klass

Definition

Representerar användarhemlighets-ID:t.

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
Arv
UserSecretsIdAttribute
Attribut

Kommentarer

I de flesta fall genereras det här attributet automatiskt under kompilering av MSBuild-mål som ingår i UserSecrets NuGet-paketet. Dessa mål använder msbuild-egenskapen "UserSecretsId" för att ange värdet för UserSecretsId.

Konstruktorer

Name Description
UserSecretsIdAttribute(String)

Initierar en instans av UserSecretsIdAttribute.

Egenskaper

Name Description
UserSecretsId

Hämtar användarhemlighets-ID:t.

Gäller för