public MainWindowViewModel(ISelectedModelService selectedModelService) { this.selectedModelService = selectedModelService; DeferValidationUntilFirstSaveCall = false; Model = new MainModel(); selectedModelService.Model = Model; }
public FooterViewModel(ISelectedModelService selectedModelService) { this.selectedModelService = selectedModelService; ClickCommand = new Command(OnClickCommandExecute, CanClickCommandExecute); }