예제 #1
0
 static void Main(string[] args)
 {
     //Initializes Each of the other classes
     EntityProcessor onlyRunOneCSVProcessor = new EntityProcessor(upPath(3,Environment.CurrentDirectory) + "\\datafiles\\WineList.csv");
     BeverageCollection theWineCollection = new BeverageCollection(onlyRunOneCSVProcessor);
     controlClass controlTheProgram = new controlClass(theWineCollection, onlyRunOneCSVProcessor);
     //repeats the ui
     while(true)
     {
         controlTheProgram.PrintPrompt();
     }
 }
예제 #2
0
 public controlClass()
 {
     processDataBase = new EntityProcessor();
 }