2 references to TryTakeFromJson
Microsoft.AspNetCore.Components (1)
PersistentState\PersistentServicesRegistry.cs (1)
121
if (state.
TryTakeFromJson
<PersistentServiceRegistration[]>(_registryKey, out var registry) && registry != null)
Microsoft.AspNetCore.Components.WebAssembly.Authentication (1)
Services\DeserializedAuthenticationStateProvider.cs (1)
31
if (!state.
TryTakeFromJson
<AuthenticationStateData?>(PersistenceKey, out var authenticationStateData) || authenticationStateData is null)