C# Class Core.Framework.Permissions.Helpers.PermissionsAttribute

Inheritance: System.Web.Mvc.ActionFilterAttribute
Afficher le fichier Open project: coreframework/Core-Framework

Méthodes publiques

Méthode Description
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.

Method Details

OnActionExecuting() public méthode

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.
Résultat void

PermissionsAttribute() public méthode

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.
Résultat System