SupplyParameterFromSessionAttribute Classe

Definizione

Indica che il valore della proprietà associata deve essere fornito dalla sessione con il nome specificato.

[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class SupplyParameterFromSessionAttribute : Microsoft.AspNetCore.Components.CascadingParameterAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type SupplyParameterFromSessionAttribute = class
    inherit CascadingParameterAttributeBase
Public NotInheritable Class SupplyParameterFromSessionAttribute
Inherits CascadingParameterAttributeBase
Ereditarietà
SupplyParameterFromSessionAttribute
Attributi

Costruttori

Nome Descrizione
SupplyParameterFromSessionAttribute()

Indica che il valore della proprietà associata deve essere fornito dalla sessione con il nome specificato.

Proprietà

Nome Descrizione
Name

Ottiene o imposta il nome della chiave di sessione. Se non specificato, verrà utilizzato il nome della proprietà.

Si applica a