C# Class ReviewR.Web.Infrastructure.ExpiresAttribute

Inheritance: System.Web.Http.Filters.ActionFilterAttribute
Mostra file Open project: anurse/ReviewR

Public Methods

Method Description
ExpiresAttribute ( DateTimeOffset expires ) : System
ExpiresAttribute ( System.TimeSpan expiresIn ) : System
OnActionExecuted ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext ) : void

Method Details

ExpiresAttribute() public method

public ExpiresAttribute ( DateTimeOffset expires ) : System
expires DateTimeOffset
return System

ExpiresAttribute() public method

public ExpiresAttribute ( System.TimeSpan expiresIn ) : System
expiresIn System.TimeSpan
return System

OnActionExecuted() public method

public OnActionExecuted ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext ) : void
actionExecutedContext System.Web.Http.Filters.HttpActionExecutedContext
return void