9 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 (3)
Lifetime\ComponentStatePersistenceManagerTest.cs (3)
258private class TestStore : IPersistentComponentStateStore 280private class CompositeTestStore : IPersistentComponentStateStore, IEnumerable<IPersistentComponentStateStore>
Microsoft.AspNetCore.Components.WebAssembly (1)
src\Shared\Components\PrerenderComponentApplicationStore.cs (1)
12internal class PrerenderComponentApplicationStore : IPersistentComponentStateStore
16 references to IPersistentComponentStateStore
Microsoft.AspNetCore.Components (10)
Infrastructure\ComponentStatePersistenceManager.cs (10)
35/// Restores the component application state from the given <see cref="IPersistentComponentStateStore"/>. 37/// <param name="store">The <see cref="IPersistentComponentStateStore"/> to restore the application state from.</param> 39public async Task RestoreStateAsync(IPersistentComponentStateStore store) 46/// Persists the component application state into the given <see cref="IPersistentComponentStateStore"/>. 48/// <param name="store">The <see cref="IPersistentComponentStateStore"/> to restore the application state from.</param> 51public Task PersistStateAsync(IPersistentComponentStateStore store, Renderer renderer) 64if (store is IEnumerable<IPersistentComponentStateStore> compositeStore) 73foreach (var store in compositeStore) 88async Task PersistState(IPersistentComponentStateStore store) 128internal Task PauseAsync(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)
43IPersistentComponentStateStore store,
Circuits\ICircuitFactory.cs (1)
16IPersistentComponentStateStore store,
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\ComponentHubTest.cs (1)
205IPersistentComponentStateStore store,
Microsoft.AspNetCore.Components.Tests (1)
Lifetime\ComponentStatePersistenceManagerTest.cs (1)
289public IEnumerator<IPersistentComponentStateStore> GetEnumerator()