6 instantiations of PersistentStateAttribute
Microsoft.AspNetCore.Components.Endpoints (4)
src\aspnetcore\src\Components\Shared\src\CultureStateProvider.cs (2)
9[PersistentState] 12[PersistentState]
src\aspnetcore\src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (1)
10[PersistentState]
src\aspnetcore\src\Components\Shared\src\ResourceCollectionProvider.cs (1)
16[PersistentState]
Microsoft.AspNetCore.Components.Server (1)
src\aspnetcore\src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (1)
10[PersistentState]
Microsoft.AspNetCore.Components.Web (1)
src\aspnetcore\src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (1)
10[PersistentState]
8 references to PersistentStateAttribute
Microsoft.AspNetCore.Components (8)
PersistentState\PersistentServicesRegistry.cs (2)
172PersistentStateAttribute? parameterAttribute = null; 175if (attribute is PersistentStateAttribute persistentStateAttribute)
PersistentState\PersistentStateProviderServiceCollectionExtensions.cs (2)
10/// Enables component parameters to be supplied from <see cref="PersistentComponentState"/> with <see cref="PersistentStateAttribute"/>. 15/// Enables component parameters to be supplied from <see cref="PersistentComponentState"/> with <see cref="PersistentStateAttribute"/>.
PersistentState\PersistentStateValueProvider.cs (1)
19=> parameterInfo.Attribute is PersistentStateAttribute;
PersistentState\PersistentValueProviderComponentSubscription.cs (2)
63var attribute = (PersistentStateAttribute)parameterInfo.Attribute;
RegisterPersistentComponentStateServiceCollectionExtensions.cs (1)
20/// Only public properties annotated with <see cref="PersistentStateAttribute"/> are persisted and restored.