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)
446
yield return new object[] { RestoreContext.
LastSnapshot
};
PersistentState\PersistentServicesRegistryTest.cs (1)
467
await lastSnapshotManager.RestoreStateAsync(new TestStore(testStore.State), RestoreContext.
LastSnapshot
);
PersistentState\RestoreContextTest.cs (3)
51
var result = RestoreContext.
LastSnapshot
.ShouldRestore(options);
61
var result = RestoreContext.
LastSnapshot
.ShouldRestore(options);
75
var result = RestoreContext.
LastSnapshot
.ShouldRestore(options);
PersistentValueProviderComponentSubscriptionTests.cs (6)
78
state.InitializeExistingState(initialState, RestoreContext.
LastSnapshot
);
138
state.InitializeExistingState(initialState, RestoreContext.
LastSnapshot
);
168
state.InitializeExistingState(initialState, RestoreContext.
LastSnapshot
);
309
state.InitializeExistingState(initialState, RestoreContext.
LastSnapshot
);
355
state.InitializeExistingState(initialState, RestoreContext.
LastSnapshot
);
412
state.InitializeExistingState(initialState, RestoreContext.
LastSnapshot
);