C# 클래스 PerpetualEngine.Storage.MockedSimpleStorage

Does not persistent right now... only used for unit tests
상속: SimpleStorage
파일 보기 프로젝트 열기: perpetual-mobile/PerpetualEngine

공개 프로퍼티들

프로퍼티 타입 설명
database string>.Dictionary

공개 메소드들

메소드 설명
Delete ( string key ) : void

Delete the specified key.

Get ( string key ) : string

Retrieves value with given key.

MockedSimpleStorage ( string groupName ) : System
Put ( string key, string value ) : void

Persists a value with given key.

메소드 상세

Delete() 공개 메소드

Delete the specified key.
public Delete ( string key ) : void
key string
리턴 void

Get() 공개 메소드

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

MockedSimpleStorage() 공개 메소드

public MockedSimpleStorage ( string groupName ) : System
groupName string
리턴 System

Put() 공개 메소드

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

프로퍼티 상세

database 공개적으로 정적으로 프로퍼티

public static Dictionary database
리턴 string>.Dictionary