Exemplo n.º 1
0
        public void Post(IActionInvoker actionInvoker)
        {
            if (actionInvoker == null)
            {
                throw new ArgumentNullException(nameof(actionInvoker));
            }

            _queueWorker.Post(actionInvoker);
        }
        protected override void OnComplete(WorkerCompletedData datas)
        {
            var worker = new InternalWorkerValue <WorkerCompletedData>(_actionInvoker, datas);

            _queueWorker.Post(worker);
        }