Метод | Описание | |
---|---|---|
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.
|
|
PhoneStateStorageMechanism ( IPhoneContainer container, IPhoneService phoneService ) : System |
Initializes a new instance of the PhoneStateStorageMechanism class.
|
|
RegisterSingleton ( |
Registers service with the storage mechanism as a singleton.
|
|
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.
|
public PhoneStateStorageMechanism ( IPhoneContainer container, IPhoneService phoneService ) : System | ||
container | IPhoneContainer | The container. |
phoneService | IPhoneService | The phone service. |
Результат | System |
public RegisterSingleton ( |
||
service | The service. | |
key | string | The key. |
implementation | The implementation. | |
Результат | void |
public Store ( string key, object data ) : void | ||
key | string | The key. |
data | object | The data. |
Результат | void |
public Supports ( StorageMode mode ) : bool | ||
mode | StorageMode | The storage mode to check. |
Результат | bool |
public TryGet ( string key, object &value ) : bool | ||
key | string | The key. |
value | object | The value. |
Результат | bool |