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

Inheritance: Flatwhite.WebApi.OutputCacheAttribute
Afficher le fichier Open project: vanthoainguyen/Flatwhite Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public ApplyCacheHeadersPublic ( HttpResponseMessage response, HttpRequestMessage request ) : void
response System.Net.Http.HttpResponseMessage
request System.Net.Http.HttpRequestMessage
Résultat void

CreatePhoenixPublic() public méthode

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

GetCacheResponseBuilderPublic() public méthode

public GetCacheResponseBuilderPublic ( IDependencyScope scope ) : ICacheResponseBuilder
scope IDependencyScope
Résultat ICacheResponseBuilder

GetCacheStrategyPublic() public méthode

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

GetInvocationContextPublic() public méthode

public GetInvocationContextPublic ( System.Web.Http.Controllers.HttpActionContext actionContext ) : object>.IDictionary
actionContext System.Web.Http.Controllers.HttpActionContext
Résultat object>.IDictionary

GetInvocationPublic() public méthode

public GetInvocationPublic ( System.Web.Http.Controllers.HttpActionContext actionContext ) : _IInvocation
actionContext System.Web.Http.Controllers.HttpActionContext
Résultat _IInvocation

HashCacheKeyPublic() public méthode

public HashCacheKeyPublic ( string originalCacheKey ) : string
originalCacheKey string
Résultat string

ShouldIgnoreCachePublic() public méthode

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