C# Class Flatwhite.Tests.WebApi.OutputCacheAttributeTests.OutputCacheAttributeWithPublicMethods

Inheritance: Flatwhite.WebApi.OutputCacheAttribute
Show file Open project: vanthoainguyen/Flatwhite Class Usage Examples

Public Methods

Method Description
ApplyCacheHeadersPublic ( HttpResponseMessage response, HttpRequestMessage request ) : void
CreatePhoenixPublic ( _IInvocation invocation, WebApiCacheItem cacheItem, HttpRequestMessage request ) : void
GetCacheResponseBuilderPublic ( IDependencyScope scope ) : ICacheResponseBuilder
GetCacheStrategyPublic ( IDependencyScope scope, _IInvocation invocation, object>.IDictionary invocationContext ) : ICacheStrategy
GetInvocationContextPublic ( System.Web.Http.Controllers.HttpActionContext actionContext ) : object>.IDictionary
GetInvocationPublic ( System.Web.Http.Controllers.HttpActionContext actionContext ) : _IInvocation
HashCacheKeyPublic ( string originalCacheKey ) : string
ShouldIgnoreCachePublic ( CacheControlHeaderValue cacheControl, HttpRequestMessage request ) : bool

Method Details

ApplyCacheHeadersPublic() public method

public ApplyCacheHeadersPublic ( HttpResponseMessage response, HttpRequestMessage request ) : void
response System.Net.Http.HttpResponseMessage
request System.Net.Http.HttpRequestMessage
return void

CreatePhoenixPublic() public method

public CreatePhoenixPublic ( _IInvocation invocation, WebApiCacheItem cacheItem, HttpRequestMessage request ) : void
invocation _IInvocation
cacheItem Flatwhite.WebApi.WebApiCacheItem
request System.Net.Http.HttpRequestMessage
return void

GetCacheResponseBuilderPublic() public method

public GetCacheResponseBuilderPublic ( IDependencyScope scope ) : ICacheResponseBuilder
scope IDependencyScope
return ICacheResponseBuilder

GetCacheStrategyPublic() public method

public GetCacheStrategyPublic ( IDependencyScope scope, _IInvocation invocation, object>.IDictionary invocationContext ) : ICacheStrategy
scope IDependencyScope
invocation _IInvocation
invocationContext object>.IDictionary
return ICacheStrategy

GetInvocationContextPublic() public method

public GetInvocationContextPublic ( System.Web.Http.Controllers.HttpActionContext actionContext ) : object>.IDictionary
actionContext System.Web.Http.Controllers.HttpActionContext
return object>.IDictionary

GetInvocationPublic() public method

public GetInvocationPublic ( System.Web.Http.Controllers.HttpActionContext actionContext ) : _IInvocation
actionContext System.Web.Http.Controllers.HttpActionContext
return _IInvocation

HashCacheKeyPublic() public method

public HashCacheKeyPublic ( string originalCacheKey ) : string
originalCacheKey string
return string

ShouldIgnoreCachePublic() public method

public ShouldIgnoreCachePublic ( CacheControlHeaderValue cacheControl, HttpRequestMessage request ) : bool
cacheControl System.Net.Http.Headers.CacheControlHeaderValue
request System.Net.Http.HttpRequestMessage
return bool