コード例 #1
0
ファイル: UpdateChecker.cs プロジェクト: mbbill/vs-chromium
 public UpdateChecker(
   IPackageVersionProvider packageVersionProvider,
   IUpdateInfoProvider updateInfoProvider,
   IDelayedOperationProcessor delayedOperationProcessor,
   [ImportMany]IEnumerable<IUpdateNotificationListener> updateNotificationListeners) {
   _packageVersionProvider = packageVersionProvider;
   _updateInfoProvider = updateInfoProvider;
   _delayedOperationProcessor = delayedOperationProcessor;
   _updateNotificationListeners = updateNotificationListeners;
 }
コード例 #2
0
 public UpdateChecker(
     IPackageVersionProvider packageVersionProvider,
     IUpdateInfoProvider updateInfoProvider,
     IDelayedOperationExecutor delayedOperationExecutor,
     [ImportMany] IEnumerable <IUpdateNotificationListener> updateNotificationListeners)
 {
     _packageVersionProvider      = packageVersionProvider;
     _updateInfoProvider          = updateInfoProvider;
     _delayedOperationExecutor    = delayedOperationExecutor;
     _updateNotificationListeners = updateNotificationListeners;
 }
コード例 #3
0
 public DriverListViewModel(IUpdateInfoProvider updateDataProvider)
 {
     _updateInfoProvider = updateDataProvider;
     UpdateInfos         = new ObservableCollection <UpdateInfo>();
     _coreDispatcher     = Window.Current.Dispatcher;
 }