public static bool IsActionAllowed(this ApplicableActionsData applicableActions, string customAction) { return(applicableActions.IsActionApplicable(customAction) && applicableActions.Actions[customAction]); }
public static bool IsActionApplicable(this ApplicableActionsData applicableActions, TcmAction tcmAction) { return(applicableActions.IsActionApplicable(ApplicableActionsExtensions.GetTcmActionString(tcmAction))); }