static void Main(string[] args)
        {
            RechnerModel         model      = new RechnerModel();
            ConsoleView          view       = new ConsoleView(model);
            AnwendungsController controller = new AnwendungsController(view, model);



            controller.Ausführen();
        }
Exemplo n.º 2
0
        private RechnerModel model;  //Attriut

        // BenutzerWillBeenden = false;


        public ConsoleView(RechnerModel model) //Konstruktor
        {
            this.model = model;                //Attribut (li) wie auch Parameter (re) heißt model
        }
Exemplo n.º 3
0
        private RechnerModel model;    //Attribute zugewiesen


        public AnwendungsController(ConsoleView view, RechnerModel model)
        {
            this.view  = view;
            this.model = model;
        }