Пример #1
0
 public virtual void ClearAddress()
 {
     if (!sampleUser)
     {
         int depth = _address.depth;
         _address.Clear();
         if (_address.depth != depth)
         {
             Rebuild(sampleComputer: true);
         }
     }
 }
Пример #2
0
        /// <summary>
        /// Clear the junction address.
        /// </summary>
        public virtual void ClearAddress()
        {
            if (sampleUser)
            {
                return;
            }
            int lastDepth = _address.depth;

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