11 references to PersistStateAsync
Microsoft.AspNetCore.Components.Endpoints (4)
Rendering\EndpointHtmlRenderer.PrerenderingState.cs (4)
53
await manager.
PersistStateAsync
(store, this);
83
await manager.
PersistStateAsync
(store, this);
144
await manager.
PersistStateAsync
(protectedStore, this);
149
await manager.
PersistStateAsync
(store, this);
Microsoft.AspNetCore.Components.Tests (7)
Lifetime\ComponentStatePersistenceManagerTest.cs (7)
75
await Assert.ThrowsAsync<InvalidOperationException>(() => lifetime.
PersistStateAsync
(store, renderer));
96
await lifetime.
PersistStateAsync
(store, renderer);
117
await lifetime.
PersistStateAsync
(store, renderer);
141
var persistTask = lifetime.
PersistStateAsync
(store, renderer);
172
var persistTask = lifetime.
PersistStateAsync
(store, renderer);
200
await lifetime.
PersistStateAsync
(store, renderer);
226
var persistTask = lifetime.
PersistStateAsync
(store, renderer);