C# Class PerpetualEngine.Storage.DesktopSimpleStorage

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

Méthodes publiques

Méthode 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 méthode

public Clear ( ) : void
Résultat void

Delete() public méthode

Delete the specified key.
public Delete ( string key ) : void
key string
Résultat void

DesktopSimpleStorage() public méthode

public DesktopSimpleStorage ( string groupName ) : System
groupName string
Résultat System

Get() public méthode

Retrieves value with given key.
public Get ( string key ) : string
key string
Résultat string

Put() public méthode

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
Résultat void