IPersistentComponentStateStore Arabirim

Tanım

Blazor uygulamasının parçası olan bileşenler ve hizmetler için depolamayı yönetir.

public interface IPersistentComponentStateStore
type IPersistentComponentStateStore = interface
Public Interface IPersistentComponentStateStore

Yöntemler

GetPersistedStateAsync()

Kalıcı durumu depodan alır.

PersistStateAsync(IReadOnlyDictionary<String,Byte[]>)

Seri hale getirilmiş durumu depolamada kalıcı hale getirmektedir.

SupportsRenderMode(IComponentRenderMode)

Deponun verilen IComponentRenderModeöğesini destekleyip desteklemediğini gösteren bir değer döndürür.

Şunlara uygulanır