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