Beispiel #1
0
        /// <summary>
        /// Положить окружение
        /// </summary>
        private void PushScope()
        {
            Context = new TraceContext(Id, Root);

            _saved  = Current;
            Current = this;
        }
Beispiel #2
0
 /// <summary>
 /// Извлечь окружение
 /// </summary>
 private void PopScope()
 {
     Current = _saved;
 }