문제

When applying PostSharp's [INotifyPropertyChanged] attribute to a class, is there a way to force PostSharp to ignore some of the properties?

도움이 되었습니까?

해결책

There is a documentation article about Customizing the NotifyPropertyChanged Aspect. Based on that article, you need to mark the property with [IgnoreAutoChangeNotification] attribute to prevent the notification from being raised for that property.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top