36 references to PersistentComponentState
Microsoft.AspNetCore.Components (1)
PersistentState\ComponentStatePersistenceManager.cs (1)
29State = new PersistentComponentState(_currentState, _registeredCallbacks, _registeredRestoringCallbacks);
Microsoft.AspNetCore.Components.Tests (35)
PersistentState\PersistentComponentStateTest.cs (15)
18var applicationState = new PersistentComponentState(new Dictionary<string, byte[]>(), [], []); 36var applicationState = new PersistentComponentState(new Dictionary<string, byte[]>(), [], []); 53var applicationState = new PersistentComponentState(currentState, [], []) 66var applicationState = new PersistentComponentState(new Dictionary<string, byte[]>(), [], []); 86var applicationState = new PersistentComponentState(currentState, [], []) 105var applicationState = new PersistentComponentState(currentState, [], []) 122var applicationState = new PersistentComponentState(currentState, [], []) 141var applicationState = new PersistentComponentState(currentState, [], []) 161var applicationState = new PersistentComponentState(new Dictionary<string, byte[]>(), [], []); 179var applicationState = new PersistentComponentState(new Dictionary<string, byte[]>(), [], []); 197var applicationState = new PersistentComponentState(currentState, [], callbacks); 216var applicationState = new PersistentComponentState(currentState, [], callbacks); 235var applicationState = new PersistentComponentState(currentState, [], callbacks); 254var applicationState = new PersistentComponentState(currentState, [], callbacks); 273var applicationState = new PersistentComponentState(currentState, [], callbacks);
PersistentState\PersistentServicesRegistryTest.cs (1)
39var componentState = new PersistentComponentState(testStore.State, [], []);
PersistentStateValueProviderKeyResolverTests.cs (2)
90var newState = new PersistentComponentState(new Dictionary<string, byte[]>(), [], []); 145var newState = new PersistentComponentState(new Dictionary<string, byte[]>(), [], []);
PersistentStateValueProviderTests.cs (3)
20var state = new PersistentComponentState( 51var state = new PersistentComponentState( 77var state = new PersistentComponentState(
PersistentValueProviderComponentSubscriptionTests.cs (14)
23var state = new PersistentComponentState(new Dictionary<string, byte[]>(), [], []); 45var state = new PersistentComponentState(new Dictionary<string, byte[]>(), [], []); 70var state = new PersistentComponentState(initialState, [], []); 99var state = new PersistentComponentState(new Dictionary<string, byte[]>(), [], []); 130var state = new PersistentComponentState(initialState, [], []); 160var state = new PersistentComponentState(initialState, [], []); 189var state = new PersistentComponentState(new Dictionary<string, byte[]>(), [], []); 210var state = new PersistentComponentState(initialState, [], []); 297var state = new PersistentComponentState(initialState, [], []); 337var state = new PersistentComponentState(initialState, [], []); 397var state = new PersistentComponentState(initialState, [], []); 649var state = new PersistentComponentState(new Dictionary<string, byte[]>(), [], []); 672var state = new PersistentComponentState(new Dictionary<string, byte[]>(), [], []); 695var state = new PersistentComponentState(new Dictionary<string, byte[]>(), [], []);