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; }
protected abstract void DoWork(SourceControlProcessModel baseModel);