Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 695 Bytes

File metadata and controls

24 lines (17 loc) · 695 Bytes

NavigationLinkAttribute.GetPermissionFromController method

namespace: Serenity.Navigation   assemblySerenity.Net.Web

Tries to extract permission from a controller action

public static string GetPermissionFromController(Type controller, string action)
parameter description
controller Controller
action Action

Exceptions

exception condition
ArgumentNullException Controller or action is null
ArgumentOutOfRangeException Action name is invalid

See Also