Exemplo n.º 1
0
        static void Main(string[] args)
        {
            RechnerModel         model      = new RechnerModel();
            ConsoleView          view       = new ConsoleView(model);
            AnwendungsController controller = new AnwendungsController(view, model);

            controller.Ausfuehren();
        }
Exemplo n.º 2
0
 public ConsoleView(RechnerModel model)
 {
     //this. weil das attribut und das argument beide model heißen
     this.model          = model;
     BenutzerWillBeenden = false;
 }
Exemplo n.º 3
0
 public AnwendungsController(ConsoleView view, RechnerModel model)
 {
     this.view  = view;
     this.model = model;
 }