C# 클래스 Caliburn.Micro.Autofac.StorageHandlers.WinRTRoamingStorageMechanism

Stores data in the phone state.
상속: IStorageMechanism
파일 보기 프로젝트 열기: brendankowitz/Caliburn.Micro.Autofac

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