Ejemplo n.º 1
0
        /// <summary>
        /// task job complete event
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="args"></param>
        protected void QueueTask_OnJobComplete(object sender, Delegate.QueueTaskEventArgs args)
        {
            var task = sender as IQueueTask;

            if (task.CurrentJob != null && task.CurrentJob.CompleteCallback != null)
            {
                task.CurrentJob.CompleteCallback(task.CurrentJob);
            }

            //Get The Last job
            task.CurrentJob = this.jobContainer.GetJob();
        }
Ejemplo n.º 2
0
 protected void QueueTask_OnTaskJobBegin(object sender, Delegate.QueueTaskEventArgs args)
 {
 }