예제 #1
0
 /// <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;
 }
예제 #2
0
 /// <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())
 {
 }
예제 #3
0
 /// <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())
 {
 }
예제 #4
0
        /// <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;
        }