public void RemoveRepeatAction(AliasPartAction partAction)
 {
     if (RepeatActionList.Contains(partAction) == true)
         RepeatActionList.Remove(partAction);
 }
 public void AddAction(string alias, Action method, Func<bool> isStateOk)
 {
     var partAction = new AliasPartAction(alias, method, isStateOk);
     Actions.Add(partAction);
     AddRepeatAction(partAction);
 }
 public void AddRepeatAction(AliasPartAction partAction)
 {
     if (RepeatActionList.Contains(partAction) == false)
         RepeatActionList.Add(partAction);
 }
 public void AddAction(AliasPartAction aliasPartAction)
 {
     Actions.Add(aliasPartAction);
     AddRepeatAction(aliasPartAction);
 }