Pattern for implementing INotifyPropertyChanged?

后端 未结 3 1423
野趣味
野趣味 2021-02-09 07:32

I have seen the following pattern used for implementing INotifyPropertyChanged

private void NotifyPropertyChanged(string propertyName)
{
    PropertyChangedEvent         


        
3条回答
  •  余生分开走
    2021-02-09 07:45

    In a multi-threaded world, the PropertyChanged may be set to null after the if statement has been evaluated.

提交回复
热议问题