9 writes to RootComponents
Microsoft.AspNetCore.Components.Server (2)
Circuits\CircuitPersistenceManager.cs (2)
84RootComponents = rootComponentsBytes, 206RootComponents = JsonSerializer.SerializeToUtf8Bytes(
Microsoft.AspNetCore.Components.Server.Tests (7)
Circuits\CircuitPersistenceManagerTest.cs (3)
193RootComponents = [1, 2, 3, 4] 259RootComponents = [1, 2, 3, 4] 660RootComponents = null
Circuits\ComponentHubTest.cs (2)
167RootComponents = [.. """{}"""u8], 267RootComponents = [],
Circuits\HybridCacheCircuitPersistenceProviderTest.cs (2)
24RootComponents = [1, 2, 3], 66RootComponents = [1, 2, 3],
9 references to RootComponents
Microsoft.AspNetCore.Components.Server (3)
Circuits\CircuitPersistenceManager.cs (1)
69var rootComponents = Encoding.UTF8.GetString(state.RootComponents);
Circuits\PersistedCircuitState.cs (1)
17return $"ApplicationStateCount={ApplicationState?.Count ?? 0}, RootComponentsLength={RootComponents?.Length ?? 0} bytes";
ComponentHub.cs (1)
184persistedState.RootComponents,
Microsoft.AspNetCore.Components.Server.Tests (6)
Circuits\CircuitPersistenceManagerTest.cs (2)
83state.RootComponents); 147state.RootComponents);
Circuits\HybridCacheCircuitPersistenceProviderTest.cs (4)
38Assert.Equal(persistedState.RootComponents, result.RootComponents); 84Assert.Equal(persistedState.RootComponents, result1.RootComponents);