/// <summary> /// instantiate a new object of te DirectoryExporter-Class /// </summary> /// <param name="model">contains Path-Informations for exporting</param> /// <param name="fileHandler">object for FileSystem operations</param> public DirectoryExporter(ExportModel model, IFileHandler fileHandler) { ImportModel = model; _fileHandler = fileHandler; }
/// <summary> /// instantiate a new object of the FileExporter-Class /// </summary> /// <param name="model">contains Path-Infromations for exporting</param> public FileExporter(ExportModel model) : this(model, new FileHandler()) { }
/// <summary> /// instantiate a new object of te DirectoryExporter-Class /// </summary> /// <param name="model">contains Path-Informations for exporting</param> public DirectoryExporter(ExportModel model) : this(model, new FileHandler()) { }
/// <summary> /// instantiate a new object of the FileExporter-Class /// </summary> /// <param name="model">contains Path-Informations for exporting</param> /// <param name="fileHandler">object for FileSystem operations</param> public FileExporter(ExportModel model, IFileHandler fileHandler) { _fileHandler = fileHandler; ExportModel = model; }