public MainWindowViewModel(ISelectedModelService selectedModelService)
        {
            this.selectedModelService         = selectedModelService;
            DeferValidationUntilFirstSaveCall = false;



            Model = new MainModel();

            selectedModelService.Model = Model;
        }
Exemple #2
0
 public FooterViewModel(ISelectedModelService selectedModelService)
 {
     this.selectedModelService = selectedModelService;
     ClickCommand = new Command(OnClickCommandExecute, CanClickCommandExecute);
 }