PersistentComponentState
PersistAsJson<TValue>(String, TValue)
RegisterOnPersisting(Func<Task>)
RegisterOnPersisting(Func<Task>, IComponentRenderMode)
RegisterOnRestoring(Action, RestoreOptions)
TryTakeFromJson<TValue>(String, TValue)
net10.0
namespace Microsoft.AspNetCore.Components
{
public class PersistentComponentState
{
[RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed.")]
public bool TryTakeFromJson<TValue>(string! key, [MaybeNullWhen(false)] out TValue instance);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 6.07.08.09.010.0 |
Information specific to net10.0 | |
| Assembly | Microsoft.AspNetCore.Components , Version=10.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Requires any:
|
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API