C# 클래스 Rebel.Cms.Web.Mvc.ActionFilters.RequiredFieldAttribute

Makes an action method only respond if particular form field(s) is included in the request
상속: System.Web.Mvc.ActionMethodSelectorAttribute
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5

공개 메소드들

메소드 설명
IsValidForRequest ( System.Web.Mvc.ControllerContext controllerContext, MethodInfo methodInfo ) : bool

Ensure that field names specified are found in the request depending on the field match type.

RequiredFieldAttribute ( ) : System.Linq

Constructor

RequiredFieldAttribute ( FieldMatchCount matchCount ) : System.Linq

Constructor

RequiredFieldAttribute ( FieldMatchCount matchCount, FieldMatchType matchType ) : System.Linq

Contructor

메소드 상세

IsValidForRequest() 공개 메소드

Ensure that field names specified are found in the request depending on the field match type.
public IsValidForRequest ( System.Web.Mvc.ControllerContext controllerContext, MethodInfo methodInfo ) : bool
controllerContext System.Web.Mvc.ControllerContext
methodInfo System.Reflection.MethodInfo
리턴 bool

RequiredFieldAttribute() 공개 메소드

Constructor
public RequiredFieldAttribute ( ) : System.Linq
리턴 System.Linq

RequiredFieldAttribute() 공개 메소드

Constructor
public RequiredFieldAttribute ( FieldMatchCount matchCount ) : System.Linq
matchCount FieldMatchCount
리턴 System.Linq

RequiredFieldAttribute() 공개 메소드

Contructor
public RequiredFieldAttribute ( FieldMatchCount matchCount, FieldMatchType matchType ) : System.Linq
matchCount FieldMatchCount
matchType FieldMatchType
리턴 System.Linq