26 references to PersistentComponentState
Microsoft.AspNetCore.Components (1)
PersistentState\ComponentStatePersistenceManager.cs (1)
27State = new PersistentComponentState(_currentState, _registeredCallbacks);
Microsoft.AspNetCore.Components.Tests (25)
IPersistentComponentStateSerializerTests.cs (3)
19var state = new PersistentComponentState(currentState, []); 34var newState = new PersistentComponentState(new Dictionary<string, byte[]>(), []); 50var state = new PersistentComponentState(new Dictionary<string, byte[]>(), []);
PersistentState\ComponentApplicationStateTest.cs (10)
14var applicationState = new PersistentComponentState(new Dictionary<string, byte[]>(), []); 32var applicationState = new PersistentComponentState(new Dictionary<string, byte[]>(), []); 49var applicationState = new PersistentComponentState(currentState, []) 62var applicationState = new PersistentComponentState(new Dictionary<string, byte[]>(), []); 82var applicationState = new PersistentComponentState(currentState, []) 101var applicationState = new PersistentComponentState(currentState, []) 118var applicationState = new PersistentComponentState(currentState, []) 137var applicationState = new PersistentComponentState(currentState, []) 157var applicationState = new PersistentComponentState(new Dictionary<string, byte[]>(), []); 175var applicationState = new PersistentComponentState(new Dictionary<string, byte[]>(), []);
PersistentState\PersistentServicesRegistryTest.cs (1)
37var componentState = new PersistentComponentState(testStore.State, []);
PersistentStateValueProviderTests.cs (11)
24var state = new PersistentComponentState( 53var state = new PersistentComponentState( 75var state = new PersistentComponentState( 124var newState = new PersistentComponentState(new Dictionary<string, byte[]>(), []); 162var newState = new PersistentComponentState(new Dictionary<string, byte[]>(), []); 203var newState = new PersistentComponentState(new Dictionary<string, byte[]>(), []); 276var newState = new PersistentComponentState(new Dictionary<string, byte[]>(), []); 462var newState = new PersistentComponentState(new Dictionary<string, byte[]>(), []); 497var newState = new PersistentComponentState(new Dictionary<string, byte[]>(), []); 532var newState = new PersistentComponentState(new Dictionary<string, byte[]>(), []); 567var newState = new PersistentComponentState(new Dictionary<string, byte[]>(), []);