Ejemplo n.º 1
0
        private void Dispose(bool disposing)
        {
            if (Dispatcher == null)
            {
                throw new ObjectDisposedException("UIThreadPoolThread");
            }

            Dispatcher dispatcher = Dispatcher;

            Dispatcher = null;

            UIThreadPool.DecrementThread(dispatcher);
        }