SupplyParameterFromSessionAttribute Class

Definition

Indicates that the value of the associated property should be supplied from the session with the specified name.

[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
Inheritance
SupplyParameterFromSessionAttribute
Attributes

Constructors

Name Description
SupplyParameterFromSessionAttribute()

Properties

Name Description
Name

Gets or sets the name of the session key. If not specified, the property name will be used.

Applies to