private void OnContextDisposed(BackgroundWorkIndicatorContext context)
        {
            _threadingContext.ThrowIfNotOnUIThread();

            if (_currentContext == context)
            {
                _currentContext = null;
            }
        }
Beispiel #2
0
 public BackgroundWorkIndicatorScope(
     BackgroundWorkIndicatorContext indicator, string description)
 {
     _context     = indicator;
     _description = description;
 }