2 instantiations of PersistComponentStateRegistration
Microsoft.AspNetCore.Components (2)
PersistentComponentState.cs (1)
71var persistenceCallback = new PersistComponentStateRegistration(callback, renderMode);
PersistentState\ComponentStatePersistenceManager.cs (1)
189_registeredCallbacks[i] = new PersistComponentStateRegistration(registration.Callback, componentRenderMode);
11 references to PersistComponentStateRegistration
Microsoft.AspNetCore.Components (11)
PersistentComponentState.cs (3)
19private readonly List<PersistComponentStateRegistration> _registeredCallbacks; 24List<PersistComponentStateRegistration> pauseCallbacks, 71var persistenceCallback = new PersistComponentStateRegistration(callback, renderMode);
PersistentState\ComponentStatePersistenceManager.cs (4)
14private readonly List<PersistComponentStateRegistration> _registeredCallbacks = new(); 47internal List<PersistComponentStateRegistration> RegisteredCallbacks => _registeredCallbacks; 177var registration = _registeredCallbacks[i]; 218var registration = _registeredCallbacks[i];
PersistentState\PersistingComponentStateSubscription.cs (4)
14private readonly List<PersistComponentStateRegistration>? _callbacks; 15private readonly PersistComponentStateRegistration? _callback; 17internal PersistingComponentStateSubscription(List<PersistComponentStateRegistration> callbacks, PersistComponentStateRegistration callback)