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