public ConcurrencyService()
 {
     _dispatcherScheduler = new CoreDispatcherScheduler(CoreApplication.MainView.CoreWindow.Dispatcher);
     _scheduler           = new PeriodicBatchScheduler(_dispatcherScheduler);
 }
 public ConcurrencyService()
 {
     _scheduler = new PeriodicBatchScheduler(DispatcherScheduler.Current);
 }