public PublishTask() { _fileSystem = new FileSystem(); _configurationFactory = new ConfigurationFactory(_fileSystem, new TransformFactory(), new TargetPathFactory()); _fileCopyService = new FileCopyService(_fileSystem); _xmlTransformService = new XmlTransformService(_fileSystem); _publisherSettingsFactory = new PublisherSettingsFactory(); }
public Publisher(IPublisherSettings publisherSettings, IFileCopyService fileCopyService, IFileSystem fileSystem, IXmlTransformService xmlTransformService) { _publisherSettings = publisherSettings; _fileCopyService = fileCopyService; _fileSystem = fileSystem; _xmlTransformService = xmlTransformService; }
public XmlTransformServiceFacts() { _fileSystem = new MockFileSystem(); _xmlTransformService = new XmlTransformService(_fileSystem, null); }