示例#1
0
文件: Program.cs 项目: csergiu/Labs
 static void Main(string[] args)
 {
     Repository<Student> repo = new Repository<Student>();
     Validator val = new Validator(repo);
     Controller.Controller ctrl = new Controller.Controller(repo, val);
     UI.Console cons = new UI.Console(ctrl);
 }
示例#2
0
        static void Main(string[] args)
        {
            Repository <Student> repo = new Repository <Student>();
            Validator            val  = new Validator(repo);

            Controller.Controller ctrl = new Controller.Controller(repo, val);
            UI.Console            cons = new UI.Console(ctrl);
        }