C# Class Worki.Infrastructure.HttpHeaderAttribute

Represents an attribute that is used to add HTTP Headers to a Controller Action response.
Inheritance: System.Web.Mvc.ActionFilterAttribute
Afficher le fichier Open project: tah91/eworkyWebSite

Méthodes publiques

Méthode Description
HttpHeaderAttribute ( string name, string value ) : System

Initializes a new instance of the HttpHeaderAttribute class.

OnResultExecuted ( System.Web.Mvc.ResultExecutedContext filterContext ) : void

Called by the MVC framework after the action result executes.

Method Details

HttpHeaderAttribute() public méthode

Initializes a new instance of the HttpHeaderAttribute class.
public HttpHeaderAttribute ( string name, string value ) : System
name string The HTTP header name.
value string The HTTP header value.
Résultat System

OnResultExecuted() public méthode

Called by the MVC framework after the action result executes.
public OnResultExecuted ( System.Web.Mvc.ResultExecutedContext filterContext ) : void
filterContext System.Web.Mvc.ResultExecutedContext The filter context.
Résultat void