C# Class Castle.Facilities.Cache.CacheConfig

Summary description for CacheConfig.
显示文件 Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
AddMethod ( MethodInfo method, string cacheManagerId ) : void
AddMethodName ( string methodName, string cacheManagerId ) : void
CacheConfig ( IKernel kernel, string globalCacheManagerId ) : System.Reflection

Constructor

The globalCacheManagerId us only used when configure by attribute

GetCacheManager ( MethodInfo method ) : ICacheManager
IsMethodCache ( MethodInfo method ) : bool

A

Method Details

AddMethod() public method

public AddMethod ( MethodInfo method, string cacheManagerId ) : void
method System.Reflection.MethodInfo
cacheManagerId string
return void

AddMethodName() public method

public AddMethodName ( string methodName, string cacheManagerId ) : void
methodName string
cacheManagerId string
return void

CacheConfig() public method

Constructor
The globalCacheManagerId us only used when configure by attribute
public CacheConfig ( IKernel kernel, string globalCacheManagerId ) : System.Reflection
kernel IKernel
globalCacheManagerId string
return System.Reflection

GetCacheManager() public method

public GetCacheManager ( MethodInfo method ) : ICacheManager
method System.Reflection.MethodInfo
return ICacheManager

IsMethodCache() public method

A
public IsMethodCache ( MethodInfo method ) : bool
method System.Reflection.MethodInfo
return bool