C# Class Flatwhite.WebApi.WebApiCacheStrategy

A ICacheStrategy implementation for web api
Inheritance: Flatwhite.Strategy.DefaultCacheStrategy
显示文件 Open project: vanthoainguyen/Flatwhite

Public Methods

Method Description
GetCacheStore ( _IInvocation invocation, object>.IDictionary invocationContext ) : ICacheStore

WebAPI should use AsyncCacheStore instead

Protected Methods

Method Description
CanCacheNoneVirtualOrFinalMethods ( ) : bool

Should return true as WebApi doesn't use Dynamic proxy

Method Details

CanCacheNoneVirtualOrFinalMethods() protected method

Should return true as WebApi doesn't use Dynamic proxy
protected CanCacheNoneVirtualOrFinalMethods ( ) : bool
return bool

GetCacheStore() public method

WebAPI should use AsyncCacheStore instead
public GetCacheStore ( _IInvocation invocation, object>.IDictionary invocationContext ) : ICacheStore
invocation _IInvocation
invocationContext object>.IDictionary
return ICacheStore