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