protected override bool OnSaveCanExecute()
 {
     return(HasChanges && ProgrammingLanguages.All(x => !x.HasErrors));
 }
 protected override bool onSaveCanExecute()
 {
     return(HasChanged && ProgrammingLanguages.All(p => !p.HasErrors));
 }
Exemple #3
0
 protected override bool OnSaveCanExecute()
 {//Check to see if HasChanges is true and that none of the ProgrammingLanguages has any errors
     return(HasChanges && ProgrammingLanguages.All(p => !p.HasErrors));
 }