Esempio n. 1
0
 protected void InitializeTaskManager()
 {
     TaskManager             = new TaskManager();
     SyncContext             = new ThreadSynchronizationContext(TaskManager.Token);
     TaskManager.UIScheduler = new SynchronizationContextTaskScheduler(SyncContext);
     ApplicationManager      = new ApplicationManagerBase(SyncContext, Environment);
 }
Esempio n. 2
0
 protected override ITaskManager InitializeTaskManager()
 {
     TaskManager        = base.InitializeTaskManager();
     ApplicationManager = new ApplicationManagerBase(SyncContext, Environment);
     return(TaskManager);
 }