public void Start(ILogger logger) { var imagesFolderName = "Images"; _imageDeployer = new ImageDeployer(Path.Combine(_saver.SaveDirectory, imagesFolderName)); _imageDeployer.DeployImages(); _imageDeployer.CreateReadMe(); _imageGenerator = new ImageGenerator(_settings, @"Images"); _imageGenerator.SetSaveHandle(_saver); }
public ModImageGenerator(ILogger logger, ISaver saver, ISettingsHandler settings) { _logger = logger; _saver = saver; _settings = settings; var imagesFolderName = "Images"; _imageDeployer = new ImageDeployer(Path.Combine(_saver.SaveDirectory, imagesFolderName)); _imageDeployer.DeployImages(); _imageDeployer.CreateReadMe(); _imageGenerator = new ImageGenerator(_settings, @"Images"); _imageGenerator.SetSaveHandle(_saver); }