Beispiel #1
0
 public override void SetOwnerMethod(List <UInt32> used, MethodClass m)
 {
     if (!used.Contains(this.BranchId))
     {
         used.Add(this.BranchId);
         base.SetOwnerMethod(used, m);
         if (_list != null)
         {
             _list.SetOwnerMethod(used, m);
         }
     }
 }
Beispiel #2
0
        public object Clone()
        {
            BranchList obj = new BranchList(_actsHolder);

            foreach (ActionBranch ab in this)
            {
                obj.Add((ActionBranch)ab.Clone());
            }
            obj.SetOwnerMethod(_method);
            obj.LinkJumpedBranches();
            return(obj);
        }