C# Class MvcTemplate.Components.Extensions.Html.AuthorizationExtensions

Mostra file Open project: NonFactors/MVC5.Template

Public Methods

Method Description
IsAuthorizedFor ( this html, String action ) : System.Boolean
IsAuthorizedFor ( this html, String action, String controller ) : System.Boolean
IsAuthorizedFor ( this html, String action, String controller, String area ) : System.Boolean

Method Details

IsAuthorizedFor() public static method

public static IsAuthorizedFor ( this html, String action ) : System.Boolean
html this
action String
return System.Boolean

IsAuthorizedFor() public static method

public static IsAuthorizedFor ( this html, String action, String controller ) : System.Boolean
html this
action String
controller String
return System.Boolean

IsAuthorizedFor() public static method

public static IsAuthorizedFor ( this html, String action, String controller, String area ) : System.Boolean
html this
action String
controller String
area String
return System.Boolean