8 references to RegisterOnRestoring
Microsoft.AspNetCore.Components (2)
PersistentState\PersistentServicesRegistry.cs (1)
80state.RegisterOnRestoring(() =>
PersistentState\PersistentValueProviderComponentSubscription.cs (1)
72_restoringSubscription = state.RegisterOnRestoring(
Microsoft.AspNetCore.Components.Tests (6)
PersistentState\ComponentStatePersistenceManagerTest.cs (1)
438persistenceManager.State.RegisterOnRestoring(() => { callbackInvoked = true; }, options);
PersistentState\PersistentComponentStateTest.cs (5)
204var subscription = applicationState.RegisterOnRestoring(() => { callbackInvoked = true; }, options); 223var subscription = applicationState.RegisterOnRestoring(() => { callbackInvoked = true; }, options); 241var subscription = applicationState.RegisterOnRestoring(() => { }, options); 260var subscription = applicationState.RegisterOnRestoring(() => { }, options); 277var subscription = applicationState.RegisterOnRestoring(() => { }, options);