C# Class PerpetualEngine.Storage.DesktopSimpleStorage

Not persistent right now... only used for unit tests
Inheritance: SimpleStorage
Exibir arquivo Open project: perpetual-mobile/SimpleStorage Class Usage Examples

Public Methods

Method Description
Clear ( ) : void
Delete ( string key ) : void

Delete the specified key.

DesktopSimpleStorage ( string groupName ) : System
Get ( string key ) : string

Retrieves value with given key.

Put ( string key, string value ) : void

Persists a value with given key.

Method Details

Clear() public method

public Clear ( ) : void
return void

Delete() public method

Delete the specified key.
public Delete ( string key ) : void
key string
return void

DesktopSimpleStorage() public method

public DesktopSimpleStorage ( string groupName ) : System
groupName string
return System

Get() public method

Retrieves value with given key.
public Get ( string key ) : string
key string
return string

Put() public method

Persists a value with given key.
public Put ( string key, string value ) : void
key string Key
value string if value is null, the key will be deleted
return void