C# 클래스 Worki.Infrastructure.HttpHeaderAttribute

Represents an attribute that is used to add HTTP Headers to a Controller Action response.
상속: System.Web.Mvc.ActionFilterAttribute
파일 보기 프로젝트 열기: tah91/eworkyWebSite

공개 메소드들

메소드 설명
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