سؤال

I realized that appears this interface in .NET Framework 4.5

I was looking first for about how to implemented in Silverlight (I can imagine that it's implemented in the same way), but I can't find a compact demo of this new interface. Is it possible to show how can I use it?

I really want to find a small demo to understand it

هل كانت مفيدة؟

المحلول

Beside the very detailed description on MSDN about the Silverlight version of INotifyDataErrorInfo

There are already some blog posts with samples how to use/implement it in WPF 4.5:

نصائح أخرى

The PRISM library has a very good example implementation in the MVVM RI sample, the class named DomainObject implements both INotifyPropertyChanged and INotifyDataErrorInfo.

It is a SL version but it now compiles with .NET 4.5

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top