C# Class Serenity.Navigation.NavigationItemAttribute

Inheritance: System.Attribute
Exibir arquivo Open project: volkanceylan/Serenity

Public Methods

Method Description
GetPermissionFromController ( Type controller, string action ) : string
GetUrlFromController ( Type controller, string action ) : string

Protected Methods

Method Description
NavigationItemAttribute ( int order, string path, Type controller, string icon, string action ) : Serenity.Web
NavigationItemAttribute ( int order, string path, string url, object permission, string icon ) : Serenity.Web

Method Details

GetPermissionFromController() public static method

public static GetPermissionFromController ( Type controller, string action ) : string
controller System.Type
action string
return string

GetUrlFromController() public static method

public static GetUrlFromController ( Type controller, string action ) : string
controller System.Type
action string
return string

NavigationItemAttribute() protected method

protected NavigationItemAttribute ( int order, string path, Type controller, string icon, string action ) : Serenity.Web
order int
path string
controller System.Type
icon string
action string
return Serenity.Web

NavigationItemAttribute() protected method

protected NavigationItemAttribute ( int order, string path, string url, object permission, string icon ) : Serenity.Web
order int
path string
url string
permission object
icon string
return Serenity.Web