IPersistentComponentStateStore 介面

定義

管理屬於 Blazor 應用程式的元件和服務儲存體。

public interface IPersistentComponentStateStore
type IPersistentComponentStateStore = interface
Public Interface IPersistentComponentStateStore

方法

GetPersistedStateAsync()

從存放區取得保存狀態。

PersistStateAsync(IReadOnlyDictionary<String,Byte[]>)

將序列化狀態保存到儲存體。

SupportsRenderMode(IComponentRenderMode)

傳回值,這個值表示存放區是否支援指定的 IComponentRenderMode

適用於