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