Table of Contents

Interface ICache

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll
public interface ICache : IDisposable
Inherited Members
Extension Methods

Properties

this[string]

object this[string key] { get; }

Parameters

key string

Property Value

object

Methods

Flush()

void Flush()

Get(string)

object Get(string key)

Parameters

key string

Returns

object

Get<T>(string)

T Get<T>(string key)

Parameters

key string

Returns

T

Type Parameters

T

Get<T>(string, T)

T Get<T>(string key, T defaultValue)

Parameters

key string
defaultValue T

Returns

T

Type Parameters

T

HasKey(string)

bool HasKey(string key)

Parameters

key string

Returns

bool

Remove(string)

void Remove(string key)

Parameters

key string

Store(string, object)

void Store(string key, object data)

Parameters

key string
data object