예제 #1
0
 public PublishTask()
 {
     _fileSystem = new FileSystem();
     _configurationFactory = new ConfigurationFactory(_fileSystem, new TransformFactory(), new TargetPathFactory());
     _fileCopyService = new FileCopyService(_fileSystem);
     _xmlTransformService = new XmlTransformService(_fileSystem);
     _publisherSettingsFactory = new PublisherSettingsFactory();
 }
예제 #2
0
 public Publisher(IPublisherSettings publisherSettings, IFileCopyService fileCopyService, 
     IFileSystem fileSystem, IXmlTransformService xmlTransformService)
 {
     _publisherSettings = publisherSettings;
     _fileCopyService = fileCopyService;
     _fileSystem = fileSystem;
     _xmlTransformService = xmlTransformService;
 }
예제 #3
0
 public UpdaterService(ILogger logger, IApplicationConfig appConfig, IFileCopyService fileCopyService, IDownloadService downloadService, IProcessManager processManager)
 {
     _logger          = logger;
     _appConfig       = appConfig;
     _fileCopyService = fileCopyService;
     _downloadService = downloadService;
     _processManager  = processManager;
 }
예제 #4
0
 public ReferenceMover(
     ICheckoutService checkOutService,
     IFileCopyService fileCopyService,
     IReferenceHintPathService referenceHintPathService )
 {
     _checkOutService = checkOutService;
     _fileCopyService = fileCopyService;
     _referenceHintPathService = referenceHintPathService;
 }
 public UpdaterService(ILogger <UpdaterService> logger,
                       IOptions <ApplicationConfig> appConfig,
                       IFileCopyService fileCopyService,
                       IDownloadService downloadService,
                       IProcessManager processManager)
 {
     _logger          = logger;
     _appConfig       = appConfig.Value;
     _fileCopyService = fileCopyService;
     _downloadService = downloadService;
     _processManager  = processManager;
 }
예제 #6
0
 public FileCopyServiceFacts()
 {
     _fileSystem = new MockFileSystem();
     _fileCopyService = new FileCopyService(_fileSystem);
 }
예제 #7
0
 public CopyFileOnCreatedEventDelegate(IFileCopyService fileCopyService)
 {
     this.fileCopyService = fileCopyService;
 }