我从来没有和INotifyPropertyChanged合作过。我正在读一篇文章,从中我找到了与INotifyPropertyChanged相关的代码。public class ContactModel : INotifyPropertyChanged private string _firstName;
public string
请告诉我实现许多重复INotifyPropertyChanged的最佳方法。我有一个MainClass,它有10个子字段,每个子字段都有6个字段,并且当自己的值发生变化时,每个字段都必须触发属性更改。} public string S6 { get; set; }我使用一个名为ViewModelBase的类来实现INotifyPropertyChanged在第二步中,使用类实现重复的INotifyPropertyChanged:
public cla