C# Class Aspectacular.CacheFactory

Afficher le fichier Open project: vgribok/Aspectacular

Méthodes publiques

Méthode Description
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.

Method Details

CreateCacheAspect() public static méthode

Instantiates new CacheAspect for a given cache provider.
public static CreateCacheAspect ( this cacheProvider ) : CacheAspect
cacheProvider this
Résultat CacheAspect

CreateCacheAspect() public static méthode

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
Résultat CacheAspect

CreateCacheProvider() public static méthode

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
Résultat ObjectCacheFacade