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
Показать файл Открыть проект

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

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