C# Class Flatwhite.WebApi.RevalidateAttribute

Inheritance: System.Web.Http.Filters.ActionFilterAttribute
显示文件 Open project: vanthoainguyen/Flatwhite

Private Properties

Property Type Description

Public Methods

Method Description
OnActionExecuted ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext ) : void

Revalidate caches after call method

OnActionExecutedAsync ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken ) : Task

Revalidate caches after call method

RevalidateAttribute ( ) : System

Initializes a RevalidateAttribute with a list of revalidation keys

Protected Methods

Method Description
GetInvocation ( HttpActionContext actionContext ) : _IInvocation

Get _IInvocation from HttpActionContext

Method Details

GetInvocation() protected method

Get _IInvocation from HttpActionContext
protected GetInvocation ( HttpActionContext actionContext ) : _IInvocation
actionContext HttpActionContext
return _IInvocation

OnActionExecuted() public method

Revalidate caches after call method
public OnActionExecuted ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext ) : void
actionExecutedContext System.Web.Http.Filters.HttpActionExecutedContext
return void

OnActionExecutedAsync() public method

Revalidate caches after call method
public OnActionExecutedAsync ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken ) : Task
actionExecutedContext System.Web.Http.Filters.HttpActionExecutedContext
cancellationToken System.Threading.CancellationToken
return Task

RevalidateAttribute() public method

Initializes a RevalidateAttribute with a list of revalidation keys
public RevalidateAttribute ( ) : System
return System