7 implementations of IPersistentComponentStateStore
Microsoft.AspNetCore.Components.Endpoints (4)
Rendering\EndpointHtmlRenderer.PrerenderingState.cs (3)
233internal class CompositeStore : IPersistentComponentStateStore, IEnumerable<IPersistentComponentStateStore> 263internal class CopyOnlyStore<T> : IPersistentComponentStateStore where T : IComponentRenderMode
src\Shared\Components\PrerenderComponentApplicationStore.cs (1)
12internal class PrerenderComponentApplicationStore : IPersistentComponentStateStore
Microsoft.AspNetCore.Components.Server (1)
src\Shared\Components\PrerenderComponentApplicationStore.cs (1)
12internal class PrerenderComponentApplicationStore : IPersistentComponentStateStore
Microsoft.AspNetCore.Components.Tests (1)
PersistentState\PersistentServicesRegistryTest.cs (1)
280private class TestStore : IPersistentComponentStateStore
Microsoft.AspNetCore.Components.WebAssembly (1)
src\Shared\Components\PrerenderComponentApplicationStore.cs (1)
12internal class PrerenderComponentApplicationStore : IPersistentComponentStateStore
20 references to IPersistentComponentStateStore
Microsoft.AspNetCore.Components (10)
PersistentState\ComponentStatePersistenceManager.cs (10)
53/// Restores the component application state from the given <see cref="IPersistentComponentStateStore"/>. 55/// <param name="store">The <see cref="IPersistentComponentStateStore"/> to restore the application state from.</param> 57public async Task RestoreStateAsync(IPersistentComponentStateStore store) 65/// Persists the component application state into the given <see cref="IPersistentComponentStateStore"/>. 67/// <param name="store">The <see cref="IPersistentComponentStateStore"/> to restore the application state from.</param> 70public Task PersistStateAsync(IPersistentComponentStateStore store, Renderer renderer) 86if (store is IEnumerable<IPersistentComponentStateStore> compositeStore) 95foreach (var store in compositeStore) 114async Task<bool> TryPersistState(IPersistentComponentStateStore store) 179internal Task<bool> TryPauseAsync(IPersistentComponentStateStore store)
Microsoft.AspNetCore.Components.Endpoints (2)
Rendering\EndpointHtmlRenderer.PrerenderingState.cs (2)
27IPersistentComponentStateStore? store = null; 249public IEnumerator<IPersistentComponentStateStore> GetEnumerator()
Microsoft.AspNetCore.Components.Server (2)
Circuits\CircuitFactory.cs (1)
47IPersistentComponentStateStore store,
Circuits\ICircuitFactory.cs (1)
16IPersistentComponentStateStore store,
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\ComponentHubTest.cs (1)
205IPersistentComponentStateStore store,
Microsoft.AspNetCore.Components.Tests (5)
PersistentState\ComponentStatePersistenceManagerTest.cs (4)
375private class TestStore(Dictionary<string, byte[]> initialState) : IPersistentComponentStateStore 393: IPersistentComponentStateStore, IEnumerable<IPersistentComponentStateStore> 397public IEnumerator<IPersistentComponentStateStore> GetEnumerator()
SupplyParameterFromPersistentComponentStateValueProviderTests.cs (1)
500private class TestStore(Dictionary<string, byte[]> initialState) : IPersistentComponentStateStore