Documentation mistake?

Feb 28, 2008 at 7:29 PM
From the first line of documentation on the DataErrorInfoValidatableBase class:

Provides base class that developer can inherit from to provide INotifyPropertyChanged and IDataErrorInfo functionality for all sub-classes.

It is my understand that NotifyValidatableBase is what implements both those interfaces, not DataErrorInfoValidatable. Is the documentation incorrect?

Feb 28, 2008 at 9:28 PM
Edited Feb 28, 2008 at 9:30 PM
Very good catch.
That line should read
"Provides base class that developer can inherit from to provide <see cref="IDataErrorInfo"/> functionality for all sub-classes."
I have fixed the doco and will check this in some time tonight.

The hierarchy is as follow
-ValidatableBase implements IValidatable (a custom interface in the validation framework)
-DataErrorInfoValidatableBase inherits from ValidatableBase and implements IDataErrorInfo
-NotifyValidatableBase inherits DataErrorInfoValidatableBase and implements INotifyPropertyChanged

It should also be noted that this is an arbitrary hierarchy I set-up. You can inherit from any of these classes to create your own base classes or, alternatively, you can create your own hierarchy from scratch.