public virtual object Clone() { var pd = new If { CanRunDelegate = CanRunDelegate, Condition = Condition, IgnoreCanRun = IgnoreCanRun }; return pd; }
private void recursiveReset(If gc) { foreach (IPBComposite comp in gc.Children) { comp.Reset(); if (comp is If) recursiveReset(comp as If); } }
public virtual object Clone() { If pd = new If() { CanRunDelegate = this.CanRunDelegate, Condition = this.Condition, IgnoreCanRun = this.IgnoreCanRun }; return pd; }