12 references to LastSnapshot
Microsoft.AspNetCore.Components.Server (1)
Circuits\CircuitHost.cs (1)
802(true, _) => RestoreContext.LastSnapshot,
Microsoft.AspNetCore.Components.Tests (11)
PersistentState\ComponentStatePersistenceManagerTest.cs (1)
446yield return new object[] { RestoreContext.LastSnapshot };
PersistentState\PersistentServicesRegistryTest.cs (1)
467await lastSnapshotManager.RestoreStateAsync(new TestStore(testStore.State), RestoreContext.LastSnapshot);
PersistentState\RestoreContextTest.cs (3)
51var result = RestoreContext.LastSnapshot.ShouldRestore(options); 61var result = RestoreContext.LastSnapshot.ShouldRestore(options); 75var result = RestoreContext.LastSnapshot.ShouldRestore(options);
PersistentValueProviderComponentSubscriptionTests.cs (6)
78state.InitializeExistingState(initialState, RestoreContext.LastSnapshot); 138state.InitializeExistingState(initialState, RestoreContext.LastSnapshot); 168state.InitializeExistingState(initialState, RestoreContext.LastSnapshot); 309state.InitializeExistingState(initialState, RestoreContext.LastSnapshot); 355state.InitializeExistingState(initialState, RestoreContext.LastSnapshot); 412state.InitializeExistingState(initialState, RestoreContext.LastSnapshot);