2 instantiations of PersistComponentStateRegistration
Microsoft.AspNetCore.Components (2)
PersistentComponentState.cs (1)
64var persistenceCallback = new PersistComponentStateRegistration(callback, renderMode);
PersistentState\ComponentStatePersistenceManager.cs (1)
162_registeredCallbacks[i] = new PersistComponentStateRegistration(registration.Callback, componentRenderMode);
11 references to PersistComponentStateRegistration
Microsoft.AspNetCore.Components (11)
PersistentComponentState.cs (3)
18private readonly List<PersistComponentStateRegistration> _registeredCallbacks; 22List<PersistComponentStateRegistration> pauseCallbacks) 64var persistenceCallback = new PersistComponentStateRegistration(callback, renderMode);
PersistentState\ComponentStatePersistenceManager.cs (4)
14private readonly List<PersistComponentStateRegistration> _registeredCallbacks = new(); 45internal List<PersistComponentStateRegistration> RegisteredCallbacks => _registeredCallbacks; 150var registration = _registeredCallbacks[i]; 191var registration = _registeredCallbacks[i];
PersistingComponentStateSubscription.cs (4)
14private readonly List<PersistComponentStateRegistration>? _callbacks; 15private readonly PersistComponentStateRegistration? _callback; 17internal PersistingComponentStateSubscription(List<PersistComponentStateRegistration> callbacks, PersistComponentStateRegistration callback)