Class ActionExtensions
- Namespace
- Dynamicweb.CoreUI.Actions
- Assembly
- Dynamicweb.CoreUI.dll
- Inheritance
-
Action
Extensions
- Inherited Members
Methods
HasCapability(ActionNode)
Determines whether the given Action
Parameters
nodeActionNode
Returns
IsRestrictedForCurrentUser(ActionNode)
Determines whether the given Action
Parameters
nodeActionNode
Returns
IsRestrictedForUser(ActionNode, int)
Determines whether the given Action
Parameters
nodeActionNode userIdint
Returns
ToModalActions(IEnumerable<ActionNode>)
Converts the given Action
Parameters
actionsIEnumerable<ActionNode >The actions to convert.
Returns
TrySetCapability<T>(T?, CapabilityKey)
Tries to set the capability for this Action
Parameters
nodeTThe node to set primary capability for.
capabilityCapabilityKey The specific capability to set as the primary for the node.
Returns
- T
Type Parameters
TThe node type to set primary capability for.