Asp.net INotifyPropertyChanged on domain objects

后端 未结 2 1595
梦谈多话
梦谈多话 2021-01-28 16:42

What happens if a domain object in asp.net implements INotifyPropertyChanged and fires off the PropertyChanged event on the property setters?

I have a common domain laye

2条回答
  •  礼貌的吻别
    2021-01-28 17:13

    If nobody subscribes to the event, than nothing will happen as a result of raising it.

    It is very unlikely that you serverside ASP.NET application would subscribe to those events, which explains why nothing happens.

提交回复
热议问题