7 references to RestoreStateAsync
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\EndpointHtmlRenderer.cs (1)
116await componentApplicationLifetime.RestoreStateAsync(new PrerenderComponentApplicationStore());
Microsoft.AspNetCore.Components.Server (2)
Circuits\CircuitFactory.cs (1)
72await appLifetime.RestoreStateAsync(store);
Circuits\CircuitHost.cs (1)
761await appLifetime.RestoreStateAsync(store);
Microsoft.AspNetCore.Components.Tests (3)
Lifetime\ComponentStatePersistenceManagerTest.cs (3)
31await lifetime.RestoreStateAsync(store); 50await lifetime.RestoreStateAsync(store); 53await Assert.ThrowsAsync<InvalidOperationException>(() => lifetime.RestoreStateAsync(store));
Microsoft.AspNetCore.Components.WebAssembly (1)
Hosting\WebAssemblyHost.cs (1)
139await manager.RestoreStateAsync(store);