C# 클래스 Meek.Caching.CacheFactory

Meek Default Cache Factory
상속: ICacheFactory, IDisposable
파일 보기 프로젝트 열기: klintz/Meek

Private Properties

프로퍼티 타입 설명
CacheFactory System
GetCacheFactory ICacheFactory
NewCache ICache

공개 메소드들

메소드 설명
AddVariable ( string key, string value ) : void

Adds an instance variable to the Factory

Dispose ( ) : void

Disposes the CacheFactory Instance

GetCache ( string cacheName ) : ICache

Creates or Gets a Cache Instance

GetFactory ( string name ) : ICacheFactory

Returns an instance of a named CacheFactory

RemoveCache ( string cacheName ) : void

Removes a Cache in the factory specified by the cache name

SetCacheFactoryConfiguration ( CacheFactoryConfigurationSection configuration ) : void

Sets the configuration of the CacheFactories

SetDefaultCacheFactory ( ICacheFactory cacheFactory ) : void

Sets the Default CacheFactory Instance

보호된 메소드들

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

Triggered on instance dipose

비공개 메소드들

메소드 설명
CacheFactory ( ) : System
GetCacheFactory ( Type cacheFactoryType ) : ICacheFactory
NewCache ( string cacheName ) : ICache

Creates a New ICache

메소드 상세

AddVariable() 공개 메소드

Adds an instance variable to the Factory
public AddVariable ( string key, string value ) : void
key string key
value string value
리턴 void

Dispose() 공개 메소드

Disposes the CacheFactory Instance
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Triggered on instance dipose
protected Dispose ( bool disposing ) : void
disposing bool bool
리턴 void

GetCache() 공개 메소드

Creates or Gets a Cache Instance
public GetCache ( string cacheName ) : ICache
cacheName string string
리턴 ICache

GetFactory() 공개 정적인 메소드

Returns an instance of a named CacheFactory
public static GetFactory ( string name ) : ICacheFactory
name string name of the CacheFactory
리턴 ICacheFactory

RemoveCache() 공개 메소드

Removes a Cache in the factory specified by the cache name
public RemoveCache ( string cacheName ) : void
cacheName string string
리턴 void

SetCacheFactoryConfiguration() 공개 정적인 메소드

Sets the configuration of the CacheFactories
public static SetCacheFactoryConfiguration ( CacheFactoryConfigurationSection configuration ) : void
configuration Meek.Caching.Configuration.CacheFactoryConfigurationSection CacheFactoryConfigurationSection
리턴 void

SetDefaultCacheFactory() 공개 정적인 메소드

Sets the Default CacheFactory Instance
public static SetDefaultCacheFactory ( ICacheFactory cacheFactory ) : void
cacheFactory ICacheFactory ICacheFactory Instance
리턴 void