Ejemplo n.º 1
0
        public static int lastID; //For future use, requires major data structure rewrite

        public dataManager()
        {
            GE        = new globalException();
            movieList = new List <info>();
            movieData = new Dictionary <string, data>();
            FileMan   = new fileManager();
            settings  = new Settings();
            //Implement threading at a later date
            if (FileMan.readFile())
            {
                FileMan.readAll(ref movieList);
                Console.WriteLine(String.Format("{0} entires have been added via file", movieList.Count));
                sorted = true;
            }
            if (FileMan.readData())
            {
                FileMan.readData(ref movieData);
            }


            quickSort(ref movieList);

            //populateAndSort();
            //outputAll();
        }
Ejemplo n.º 2
0
 public fileManager()
 {
     this.ge = new globalException();
 }
Ejemplo n.º 3
0
 public fileManager()
 {
     this.ge = new globalException();
 }