C# Class Telerik.Web.Mvc.Infrastructure.Implementation.ControllerAuthorization

Inheritance: IControllerAuthorization
显示文件 Open project: juanplopes/simple-telerik

Public Methods

Method Description
ControllerAuthorization ( IAuthorizeAttributeCache authorizeAttributeCache, IReflectedAuthorizeAttributeCache reflectedAuthorizeAttributeCache, IObjectCopier objectCopier, RouteCollection routes ) : System
IsAccessibleToUser ( System.Web.Routing.RequestContext requestContext, string routeName ) : bool

Private Methods

Method Description
IsAccessibleToUser ( System.Web.Routing.RequestContext requestContext, string controllerName, string actionName ) : bool

Method Details

ControllerAuthorization() public method

public ControllerAuthorization ( IAuthorizeAttributeCache authorizeAttributeCache, IReflectedAuthorizeAttributeCache reflectedAuthorizeAttributeCache, IObjectCopier objectCopier, RouteCollection routes ) : System
authorizeAttributeCache IAuthorizeAttributeCache
reflectedAuthorizeAttributeCache IReflectedAuthorizeAttributeCache
objectCopier IObjectCopier
routes RouteCollection
return System

IsAccessibleToUser() public method

public IsAccessibleToUser ( System.Web.Routing.RequestContext requestContext, string routeName ) : bool
requestContext System.Web.Routing.RequestContext
routeName string
return bool