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