This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class SomeViewModel : BindableBase | |
| { | |
| errorsContainer = new ErrorsContainer<string>(x => ErrorsChanged?.Invoke(this, new DataErrorsChangedEventArgs(x))); | |
| public IEnumerable GetErrors(string propertyName) | |
| { | |
| return errorsContainer.GetErrors(propertyName); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class SomeViewModel : INotifyPropertyChanged, INotifyDataErrorInfo | |
| { | |
| errorsContainer = new ErrorsContainer<string>(x => ErrorsChanged?.Invoke(this, new DataErrorsChangedEventArgs(x))); | |
| public IEnumerable GetErrors(string propertyName) | |
| { | |
| return errorsContainer.GetErrors(propertyName); | |
| } |
OlderNewer