C# Класс Core.Framework.Permissions.Helpers.PermissionsAttribute

Наследование: System.Web.Mvc.ActionFilterAttribute
Показать файл Открыть проект

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

Метод Описание
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void

Called by the MVC framework before the action method executes.

PermissionsAttribute ( Int32 operation, Type entityType ) : System

Initializes a new instance of the PermissionsAttribute class.

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

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

Called by the MVC framework before the action method executes.
public OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext The filter context.
Результат void

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

Initializes a new instance of the PermissionsAttribute class.
public PermissionsAttribute ( Int32 operation, Type entityType ) : System
operation System.Int32 The operation.
entityType System.Type Type of the entity.
Результат System