Example #1
0
 public virtual void ExitAddress(int depth)
 {
     if (!sampleUser)
     {
         int depth2 = _address.depth;
         _address.Exit(depth);
         if (_address.depth != depth2)
         {
             Rebuild(sampleComputer: true);
         }
     }
 }
Example #2
0
        /// <summary>
        /// Exit junction address.
        /// </summary>
        /// <param name="depth">How many address elements to exit</param>
        public virtual void ExitAddress(int depth)
        {
            if (sampleUser)
            {
                return;
            }
            int lastDepth = _address.depth;

            _address.Exit(depth);
            if (_address.depth != lastDepth)
            {
                Rebuild(true);
            }
        }