예제 #1
0
 /// <summary>
 ///     Processes all remaining tasks. Call this periodically to allow the Dispatcher to handle dispatched tasks.
 ///     Only call this inside the thread you want the tasks to process to be processed.
 /// </summary>
 public void ProcessTasks()
 {
     if (DataEvent.InterWaitOne(0))
     {
         ProcessTasksInternal();
     }
 }