コード例 #1
0
 public static void Main()
 {
     var db = new ConditionerData();
     var engine = new Engine(new ConsoleUserInterface(), new Controller(new ConsoleUserInterface(), db, new RegisterModule(db),
         new TestingModule(db), new SearchingModule(db), new ValidityModule(), new StatusModule(db)));
     engine.Run();
 }
コード例 #2
0
        public static void Main()
        {
            var reader = new ConsoleReader();
            var writer = new ConsoleWriter();

            var engine = new Engine(reader, writer);
            engine.Run();
        }