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