2 interfaces inheriting from IPersistentComponentStateStore
Microsoft.AspNetCore.Components.Endpoints (1)
src\Shared\Components\ProtectedPrerenderComponentApplicationStore.cs (1)
49internal interface IClearableStore : IPersistentComponentStateStore
Microsoft.AspNetCore.Components.Server (1)
src\Shared\Components\ProtectedPrerenderComponentApplicationStore.cs (1)
49internal interface IClearableStore : IPersistentComponentStateStore
15 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 (2)
Circuits\CircuitPersistenceManager.cs (1)
187: IPersistentComponentStateStore
src\Shared\Components\PrerenderComponentApplicationStore.cs (1)
12internal class PrerenderComponentApplicationStore : IPersistentComponentStateStore
Microsoft.AspNetCore.Components.Server.Tests (2)
Circuits\CircuitHostTest.cs (1)
1147private class TestComponentApplicationStore(Dictionary<string, byte[]> dictionary) : IPersistentComponentStateStore, IClearableStore
Circuits\CircuitPersistenceManagerTest.cs (1)
650private class CircuitPersistenceManagerStore : IPersistentComponentStateStore
Microsoft.AspNetCore.Components.Tests (6)
PersistentState\ComponentStatePersistenceManagerTest.cs (3)
476private class TestStore(Dictionary<string, byte[]> initialState) : IPersistentComponentStateStore 494: IPersistentComponentStateStore, IEnumerable<IPersistentComponentStateStore>
PersistentState\PersistentServicesRegistryTest.cs (1)
287private class TestStore : IPersistentComponentStateStore
PersistentStateValueProviderKeyResolverTests.cs (1)
406private class TestStore(Dictionary<string, byte[]> initialState) : IPersistentComponentStateStore
PersistentValueProviderComponentSubscriptionTests.cs (1)
621private class TestStore(IDictionary<string, byte[]> state) : IPersistentComponentStateStore
Microsoft.AspNetCore.Components.WebAssembly (1)
src\Shared\Components\PrerenderComponentApplicationStore.cs (1)
12internal class PrerenderComponentApplicationStore : IPersistentComponentStateStore
23 references to IPersistentComponentStateStore
Microsoft.AspNetCore.Components (12)
PersistentState\ComponentStatePersistenceManager.cs (12)
55/// Restores the component application state from the given <see cref="IPersistentComponentStateStore"/>. 57/// <param name="store">The <see cref="IPersistentComponentStateStore"/> to restore the application state from.</param> 59public async Task RestoreStateAsync(IPersistentComponentStateStore store) 67/// <param name="store"> The <see cref="IPersistentComponentStateStore"/> to restore the application state from.</param> 70public async Task RestoreStateAsync(IPersistentComponentStateStore store, RestoreContext context) 95/// Persists the component application state into the given <see cref="IPersistentComponentStateStore"/>. 97/// <param name="store">The <see cref="IPersistentComponentStateStore"/> to restore the application state from.</param> 100public Task PersistStateAsync(IPersistentComponentStateStore store, Renderer renderer) 113if (store is IEnumerable<IPersistentComponentStateStore> compositeStore) 122foreach (var store in compositeStore) 141async Task<bool> TryPersistState(IPersistentComponentStateStore store) 206internal 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 (5)
Circuits\CircuitFactory.cs (1)
47IPersistentComponentStateStore store,
Circuits\CircuitHost.cs (1)
871IPersistentComponentStateStore store)
Circuits\CircuitPersistenceManager.cs (2)
218Task<IDictionary<string, byte[]>> IPersistentComponentStateStore.GetPersistedStateAsync() => throw new NotImplementedException(); 224Task IPersistentComponentStateStore.PersistStateAsync(IReadOnlyDictionary<string, byte[]> state)
Circuits\ICircuitFactory.cs (1)
16IPersistentComponentStateStore store,
Microsoft.AspNetCore.Components.Server.Tests (3)
Circuits\CircuitPersistenceManagerTest.cs (2)
654Task<IDictionary<string, byte[]>> IPersistentComponentStateStore.GetPersistedStateAsync() => 657Task IPersistentComponentStateStore.PersistStateAsync(IReadOnlyDictionary<string, byte[]> state)
Circuits\ComponentHubTest.cs (1)
413IPersistentComponentStateStore store,
Microsoft.AspNetCore.Components.Tests (1)
PersistentState\ComponentStatePersistenceManagerTest.cs (1)
498public IEnumerator<IPersistentComponentStateStore> GetEnumerator()