Exemplo n.º 1
0
 /// <summary>
 /// Aborts this process and all of its children.
 /// </summary>
 public void AbortAll()
 {
     Abort();
     if (Child != null)
     {
         Child.AbortAll();
     }
 }
Exemplo n.º 2
0
        /// <summary>
        ///   Aborts this process and all of its children.  Maybe be called by
        ///   anyone.
        /// </summary>
        public void AbortAll()
        {
            Abort();
            if (Child == null)
            {
                return;
            }

            Child.AbortAll();
            Child = null;
        }