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); } } }
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); }