C# Класс Caliburn.Micro.Autofac.StorageHandlers.WinRTRoamingStorageMechanism

Stores data in the phone state.
Наследование: IStorageMechanism
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
BeginStoring ( ) : void

Begins the storage transaction.

ClearLastSession ( ) : void

Clears the data stored in the last storage transaction.

Delete ( string key ) : void

Deletes the data with the specified key.

EndStoring ( ) : void

Ends the storage transaction.

RegisterSingleton ( Type service, string key, Type implementation ) : void
RestoreAsync ( ) : System.Threading.Tasks.Task
SaveAsync ( ) : System.Threading.Tasks.Task
Store ( string key, object data ) : void

Stores the value with the specified key.

Supports ( StorageMode mode ) : bool

Indicates what storage modes this mechanism provides.

TryGet ( string key, object &value ) : bool

Tries to get the data previously stored with the specified key.

WinRTRoamingStorageMechanism ( ) : Caliburn.Micro.Autofac.Utils

Initializes a new instance of the WinRTLocalStorageMechanism class.

Описание методов

BeginStoring() публичный Метод

Begins the storage transaction.
public BeginStoring ( ) : void
Результат void

ClearLastSession() публичный Метод

Clears the data stored in the last storage transaction.
public ClearLastSession ( ) : void
Результат void

Delete() публичный Метод

Deletes the data with the specified key.
public Delete ( string key ) : void
key string The key.
Результат void

EndStoring() публичный Метод

Ends the storage transaction.
public EndStoring ( ) : void
Результат void

RegisterSingleton() публичный Метод

public RegisterSingleton ( Type service, string key, Type implementation ) : void
service System.Type
key string
implementation System.Type
Результат void

RestoreAsync() публичный статический Метод

public static RestoreAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

SaveAsync() публичный статический Метод

public static SaveAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

Store() публичный Метод

Stores the value with the specified key.
public Store ( string key, object data ) : void
key string The key.
data object The data.
Результат void

Supports() публичный Метод

Indicates what storage modes this mechanism provides.
public Supports ( StorageMode mode ) : bool
mode StorageMode The storage mode to check.
Результат bool

TryGet() публичный Метод

Tries to get the data previously stored with the specified key.
public TryGet ( string key, object &value ) : bool
key string The key.
value object The value.
Результат bool

WinRTRoamingStorageMechanism() публичный Метод

Initializes a new instance of the WinRTLocalStorageMechanism class.
public WinRTRoamingStorageMechanism ( ) : Caliburn.Micro.Autofac.Utils
Результат Caliburn.Micro.Autofac.Utils