Class ApplicationContext
- Namespace
- InSite.Domain.Foundations
- Assembly
- Shift.Sdk.dll
public static class ApplicationContext
- Inheritance
-
ApplicationContext
- Inherited Members
-
Properties
ActionsByIdentifier
public static Dictionary<Guid, ActionNode> ActionsByIdentifier { get; set; }
Property Value
- Dictionary<Guid, ActionNode>
ActionsByUrl
public static Dictionary<string, ActionNode> ActionsByUrl { get; set; }
Property Value
- Dictionary<string, ActionNode>
NavigationTree
public static ActionTree NavigationTree { get; set; }
Property Value
- ActionTree
PermissionTree
public static ActionTree PermissionTree { get; set; }
Property Value
- ActionTree
Methods
GetAction(Guid)
public static ActionNode GetAction(Guid id)
Parameters
id Guid
Returns
- ActionNode
GetAction(string)
public static ActionNode GetAction(string url)
Parameters
url string
Returns
- ActionNode
GetPermission(Guid)
public static ActionNode GetPermission(Guid id)
Parameters
id Guid
Returns
- ActionNode
GetPermission(string)
public static ActionNode GetPermission(string url)
Parameters
url string
Returns
- ActionNode
Initialize(ActionNode[], ActionTree, ActionTree)
public static void Initialize(ActionNode[] actions, ActionTree navigation, ActionTree permission)
Parameters
actions ActionNode[]
navigation ActionTree
permission ActionTree