1 write to ServerStore
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\EndpointHtmlRenderer.PrerenderingState.cs (1)
212ServerStore = serverStore;
24 references to ServerStore
Microsoft.AspNetCore.Components.Endpoints (3)
Rendering\EndpointHtmlRenderer.PrerenderingState.cs (3)
217if (ServerStore is not null && ServerStore.PersistedState is not null) 220writer.Write(ServerStore.PersistedState);
Microsoft.AspNetCore.Components.Endpoints.Tests (21)
EndpointHtmlRendererTest.cs (21)
1364Assert.NotNull(stateContent.ServerStore); 1365Assert.Null(stateContent.ServerStore.PersistedState); 1371Assert.Null(stateContent.ServerStore); 1391Assert.Null(stateContent.ServerStore); 1430Assert.NotNull(stateContent.ServerStore); 1431Assert.NotNull(stateContent.ServerStore.PersistedState); 1437Assert.Null(stateContent.ServerStore); 1440Assert.NotNull(stateContent.ServerStore); 1441Assert.NotNull(stateContent.ServerStore.PersistedState); 1484Assert.NotNull(stateContent.ServerStore); 1485Assert.NotNull(stateContent.ServerStore.PersistedState); 1491Assert.Null(stateContent.ServerStore); 1550Assert.NotNull(stateContent.ServerStore); 1551Assert.NotNull(stateContent.ServerStore.PersistedState); 1557Assert.Null(stateContent.ServerStore); 1560Assert.NotNull(stateContent.ServerStore); 1561Assert.NotNull(stateContent.ServerStore.PersistedState); 1621Assert.NotNull(stateContent.ServerStore); 1622Assert.NotNull(stateContent.ServerStore.PersistedState); 1626Assert.Null(stateContent.ServerStore.PersistedState); 1640Assert.Null(stateContent.ServerStore);