Exemplo n.º 1
0
        private static void TimerCallback(CancellationTokenSource cancellationTokenSource)
        {
            var callbacks = cancellationTokenSource._callbacks;

            if (callbacks != null)
            {
                cancellationTokenSource.CancelExtracted(false, callbacks, true);
            }
        }