23 instantiations of PersistentStateAttribute
Microsoft.AspNetCore.Components.Endpoints (2)
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (1)
10[PersistentState]
src\Components\Shared\src\ResourceCollectionProvider.cs (1)
16[PersistentState]
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (1)
10[PersistentState]
Microsoft.AspNetCore.Components.Server.Tests (2)
Circuits\CircuitPersistenceManagerTest.cs (2)
589[PersistentState] 620[PersistentState]
Microsoft.AspNetCore.Components.Tests (12)
PersistentState\PersistentServicesRegistryTest.cs (6)
394[PersistentState] 400[PersistentState] 422[PersistentState] 474[PersistentState] 480[PersistentState] 486[PersistentState]
PersistentStateValueProviderTests.cs (6)
589new PersistentStateAttribute(), 647[PersistentState] 656[PersistentState] 659[PersistentState] 662[PersistentState] 665[PersistentState]
Microsoft.AspNetCore.Components.Web (1)
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (1)
10[PersistentState]
Microsoft.AspNetCore.Components.WebAssembly (2)
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (1)
10[PersistentState]
src\Components\Shared\src\ResourceCollectionProvider.cs (1)
16[PersistentState]
TestContentPackage (3)
Services\InteractiveAutoService.cs (1)
13[PersistentState]
Services\InteractiveServerService.cs (1)
12[PersistentState]
Services\InteractiveWebAssemblyService.cs (1)
13[PersistentState]
6 references to PersistentStateAttribute
Microsoft.AspNetCore.Components (6)
PersistentState\PersistentServicesRegistry.cs (2)
169PersistentStateAttribute? parameterAttribute = null; 172if (attribute is PersistentStateAttribute persistentStateAttribute)
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"/>.
PersistentStateValueProvider.cs (1)
30=> parameterInfo.Attribute is PersistentStateAttribute;
RegisterPersistentComponentStateServiceCollectionExtensions.cs (1)
20/// Only public properties annotated with <see cref="PersistentStateAttribute"/> are persisted and restored.