/// <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; } }
public EnhancedWhileTag(Common.BoolDelegate isDoneDelegate = null, params ProfileBehavior[] children) { IsDoneDelegate = isDoneDelegate; if (children != null && children.Any()) { Body = children.ToList(); } }
public EnhancedWhileTag(Common.BoolDelegate isDoneDelegate = null, params ProfileBehavior[] children) { IsDoneDelegate = isDoneDelegate; if(children!=null && children.Any()) Body = children.ToList(); }
/// <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; }