public override void DestroySelf()
 {
     for (Int32 index = 0; index < ChildrenLogic.Count; index++)
     {
         ChildrenLogic[index].Disconnect();
     }
     ChildrenLogic.Clear();
     Disconnect();
 }
Exemplo n.º 2
0
 public override void DestroySelf()
 {
     for (Int32 index = 0; index < ChildrenLogic.Count; index++)
     {
         var product = ChildrenLogic[index];
         product.Disconnect();
     }
     ParentLogic.RemoveLogic(this);
     ChildrenLogic.Clear();
     Disconnect();
 }