C# 클래스 Aspectacular.CacheFactory

파일 보기 프로젝트 열기: vgribok/Aspectacular

공개 메소드들

메소드 설명
CreateCacheAspect ( this cacheProvider ) : CacheAspect

Instantiates new CacheAspect for a given cache provider.

CreateCacheAspect ( this cache, System.Runtime.Caching.CacheItemPolicy cachePolicyTemplate, string regionName = null ) : CacheAspect

A shortcut method marrying .NET Framework's ObjectCache to CacheAspect.

CreateCacheProvider ( this cache, System.Runtime.Caching.CacheItemPolicy cachePolicyTemplate, string regionName = null ) : ObjectCacheFacade

Augments .NET Framework ObjectCache and its descendants into Aspectacular-friendly cache provider compatible with the CacheAspect.

메소드 상세

CreateCacheAspect() 공개 정적인 메소드

Instantiates new CacheAspect for a given cache provider.
public static CreateCacheAspect ( this cacheProvider ) : CacheAspect
cacheProvider this
리턴 CacheAspect

CreateCacheAspect() 공개 정적인 메소드

A shortcut method marrying .NET Framework's ObjectCache to CacheAspect.
public static CreateCacheAspect ( this cache, System.Runtime.Caching.CacheItemPolicy cachePolicyTemplate, string regionName = null ) : CacheAspect
cache this
cachePolicyTemplate System.Runtime.Caching.CacheItemPolicy .NET Framework object driving cached item expiration.
regionName string
리턴 CacheAspect

CreateCacheProvider() 공개 정적인 메소드

Augments .NET Framework ObjectCache and its descendants into Aspectacular-friendly cache provider compatible with the CacheAspect.
public static CreateCacheProvider ( this cache, System.Runtime.Caching.CacheItemPolicy cachePolicyTemplate, string regionName = null ) : ObjectCacheFacade
cache this
cachePolicyTemplate System.Runtime.Caching.CacheItemPolicy .NET Framework object driving cached item expiration.
regionName string
리턴 ObjectCacheFacade