예제 #1
0
        public ImageManager(string folder)
        {
            this.organizer   = new Organizer(folder);
            this.folder      = folder;
            this.imageThread = null;

            if (!Directory.Exists(folder))
            {
                Directory.CreateDirectory(folder);
            }

            UIConsole.Debug($"Creating ImageManager on folder {folder}");
        }
예제 #2
0
        public ImageManager(string folder)
        {
            this.organizer   = new Organizer(folder);
            this.folder      = folder;
            this.imageThread = null;

            if (!Directory.Exists(folder))
            {
                Directory.CreateDirectory(folder);
            }

            var aFolder = folder[folder.Count() - 1] == '/' ? folder.Substring(0, folder.Count() - 1) : folder;

            this.archiveGroup = Path.GetFileName(aFolder);
            UIConsole.Debug($"Creating ImageManager on folder {folder}");
        }