12 references to RestoreStateAsync
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\EndpointHtmlRenderer.cs (1)
124
await componentApplicationLifetime.
RestoreStateAsync
(new PrerenderComponentApplicationStore());
Microsoft.AspNetCore.Components.Server (2)
Circuits\CircuitFactory.cs (1)
77
await appLifetime.
RestoreStateAsync
(store);
Circuits\CircuitHost.cs (1)
772
await appLifetime.
RestoreStateAsync
(store);
Microsoft.AspNetCore.Components.Tests (8)
PersistentState\PersistentServicesRegistryTest.cs (8)
44
await secondManager.
RestoreStateAsync
(new TestStore(testStore.State));
84
await persistenceManagerTwo.
RestoreStateAsync
(new TestStore(testStore.State));
117
await secondManager.
RestoreStateAsync
(new TestStore(testStore.State));
184
var exception = await Record.ExceptionAsync(() => persistenceManagerTwo.
RestoreStateAsync
(new TestStore(testStore.State)));
220
await persistenceManagerTwo.
RestoreStateAsync
(new TestStore(testStore.State));
254
var exception = await Record.ExceptionAsync(async () => await persistenceManagerTwo.
RestoreStateAsync
(new TestStore(testStore.State)));
334
await secondManager.
RestoreStateAsync
(new TestStore(testStore.State));
379
await secondManager.
RestoreStateAsync
(new TestStore(testStore.State));
Microsoft.AspNetCore.Components.WebAssembly (1)
Hosting\WebAssemblyHost.cs (1)
140
await manager.
RestoreStateAsync
(store);