Ejemplo n.º 1
0
        public static FolderObject SelectProfile()
        {
            int           i    = 1;
            List <string> prof = GetProfiles();

            prof.ForEach(p => Console.WriteLine($"{i++} -> {Path.GetFileNameWithoutExtension(p)}"));
            Console.WriteLine("Select profile(by num)...");
            return(FolderObject.Deserialize(prof.ElementAt(Convert.ToInt32(Console.ReadLine()) - 1)));
        }
Ejemplo n.º 2
0
 public CopyLog(FolderObject obj)
 {
     this.obj = obj;
     Console.WriteLine("Copy thread initilalized!");
     CopyThread();
 }