C# Класс Worki.Infrastructure.HttpHeaderAttribute

Represents an attribute that is used to add HTTP Headers to a Controller Action response.
Наследование: System.Web.Mvc.ActionFilterAttribute
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

HttpHeaderAttribute() публичный Метод

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.
Результат System

OnResultExecuted() публичный Метод

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.
Результат void