Exemplo n.º 1
0
 /// <summary>
 /// Action is a method with return type bool, false will loop, true will end.
 /// </summary>
 public ActionTag(Common.BoolDelegate action = null)
 {
     if (action != null)
     {
         Action = action;
     }
 }
Exemplo n.º 2
0
 public EnhancedWhileTag(Common.BoolDelegate isDoneDelegate = null, params ProfileBehavior[] children)
 {
     IsDoneDelegate = isDoneDelegate;
     if (children != null && children.Any())
     {
         Body = children.ToList();
     }
 }
Exemplo n.º 3
0
 public EnhancedWhileTag(Common.BoolDelegate isDoneDelegate = null, params ProfileBehavior[] children)
 {
     IsDoneDelegate = isDoneDelegate;
     if(children!=null && children.Any())
         Body = children.ToList();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Action is a method with return type bool, false will loop, true will end.
 /// </summary>
 public ActionTag(Common.BoolDelegate action = null)
 {
     if(action != null) Action = action;
 }