C# 클래스 Dazzle.Storage.InMemoryStorage

상속: IStorage
파일 보기 프로젝트 열기: kellabyte/Dazzle.NET

공개 메소드들

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

Delete the key that matches the provided key.

DeleteBatch ( IEnumerable batch ) : void

Delete the batch of keys.

Dispose ( ) : void
Get ( string key ) : string

Get the value for the given key from the storage.

GetEnumerator ( ) : string>>.IEnumerator

Get an enumerator to iterate the storage.

GetEnumerator ( string key ) : string>>.IEnumerator

Get an enumerator starting from the provided key to iterate the storage.

InMemoryStorage ( ) : System
Open ( ) : void

Open the storage for use.

Put ( string key, string value ) : void

Put the value for the given key in the storage.

PutBatch ( string>.Dictionary batch ) : void

Put the batch of keys and values in the storage.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
IEnumerable ( ) : IEnumerator

Get an enumerator to iterate the storage.

메소드 상세

Delete() 공개 메소드

Delete the key that matches the provided key.
public Delete ( string key ) : void
key string Key to delete.
리턴 void

DeleteBatch() 공개 메소드

Delete the batch of keys.
public DeleteBatch ( IEnumerable batch ) : void
batch IEnumerable Batch of keys to delete.
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Get() 공개 메소드

Get the value for the given key from the storage.
public Get ( string key ) : string
key string Key to look up the value of.
리턴 string

GetEnumerator() 공개 메소드

Get an enumerator to iterate the storage.
public GetEnumerator ( ) : string>>.IEnumerator
리턴 string>>.IEnumerator

GetEnumerator() 공개 메소드

Get an enumerator starting from the provided key to iterate the storage.
public GetEnumerator ( string key ) : string>>.IEnumerator
key string The key to start the enumerator at.
리턴 string>>.IEnumerator

InMemoryStorage() 공개 메소드

public InMemoryStorage ( ) : System
리턴 System

Open() 공개 메소드

Open the storage for use.
public Open ( ) : void
리턴 void

Put() 공개 메소드

Put the value for the given key in the storage.
public Put ( string key, string value ) : void
key string Key to store value for.
value string Value to store.
리턴 void

PutBatch() 공개 메소드

Put the batch of keys and values in the storage.
public PutBatch ( string>.Dictionary batch ) : void
batch string>.Dictionary Batch of keys and values.
리턴 void