You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
491 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Example.ViewModels
  8. {
  9. public abstract class ViewModelBase : INotifyPropertyChanged
  10. {
  11. public event PropertyChangedEventHandler PropertyChanged;
  12. public void OnPropertyChanged(string propertyName)
  13. {
  14. PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
  15. }
  16. }
  17. }