コード例 #1
0
 protected SourceControlProcess(SourceControlProcessModel model, IServiceProvider serviceProvider)
     : base((IAsyncMechanism) new CurrentDispatcherAsyncMechanism(DispatcherPriority.Background))
 {
     this.Model        = model;
     this.StillWorking = true;
     this.expressionInformationService = serviceProvider.GetService(typeof(IExpressionInformationService)) as IExpressionInformationService;
     this.displayService       = serviceProvider.GetService(typeof(IMessageDisplayService)) as IMessageDisplayService;
     this.sourceControlService = serviceProvider.GetService(typeof(ISourceControlService)) as SourceControlService;
 }
コード例 #2
0
 protected abstract void DoWork(SourceControlProcessModel baseModel);