1 instantiation of RestoreComponentStateRegistration
Microsoft.AspNetCore.Components (1)
PersistentComponentState.cs (1)
94var registration = new RestoreComponentStateRegistration(callback);
14 references to RestoreComponentStateRegistration
Microsoft.AspNetCore.Components (9)
PersistentComponentState.cs (3)
20private readonly List<RestoreComponentStateRegistration> _registeredRestoringCallbacks; 25List<RestoreComponentStateRegistration> restoringCallbacks) 94var registration = new RestoreComponentStateRegistration(callback);
PersistentState\ComponentStatePersistenceManager.cs (2)
15private readonly List<RestoreComponentStateRegistration> _registeredRestoringCallbacks = new(); 81foreach (var registration in _registeredRestoringCallbacks)
PersistentState\RestoringComponentStateSubscription.cs (4)
11private readonly List<RestoreComponentStateRegistration> _registeredRestoringCallbacks; 12private readonly RestoreComponentStateRegistration? _registration; 15List<RestoreComponentStateRegistration> registeredRestoringCallbacks, 16RestoreComponentStateRegistration registration)
Microsoft.AspNetCore.Components.Tests (5)
PersistentState\PersistentComponentStateTest.cs (5)
196var callbacks = new List<RestoreComponentStateRegistration>(); 215var callbacks = new List<RestoreComponentStateRegistration>(); 234var callbacks = new List<RestoreComponentStateRegistration>(); 253var callbacks = new List<RestoreComponentStateRegistration>(); 272var callbacks = new List<RestoreComponentStateRegistration>();