Beispiel #1
0
    }                       //parameterless c-tor used for mock for the view.

    public ViewModel(ModelType1 model1, ModelType2 model2)
    {
        this.model1 = model1;
        this.model2 = model2;
    }
Beispiel #2
0
 public ViewModel()    //parameterless c-tor used for mock for the view.
 {
     model1 = new ModelType1();
     model2 = new ModelType2();
 }