Click or drag to resize

IBaseViewModel Interface

Note: This API is now obsolete.

[Missing <summary> documentation for "T:BionicCode.Utilities.Net.Standard.ViewModel.IBaseViewModel"]

Namespace:  BionicCode.Utilities.Net.Standard.ViewModel
Assembly:  BionicCode.Utilities.Net.Standard (in BionicCode.Utilities.Net.Standard.dll) Version: 1.0.3
Syntax
[ObsoleteAttribute("This interface is deprecated it will be removed. Use the renamed 'IViewModel' and abstract implementation 'ViewModel' instead (same API).")]
public interface IBaseViewModel : IViewModel, 
	INotifyPropertyChanged, INotifyDataErrorInfo

The IBaseViewModel type exposes the following members.

Properties
  NameDescription
Public propertyHasErrors
Gets a value that indicates whether the entity has validation errors.
(Inherited from INotifyDataErrorInfo.)
Top
Methods
  NameDescription
Public methodGetErrors
Gets the validation errors for a specified property or for the entire entity.
(Inherited from INotifyDataErrorInfo.)
Public methodGetPropertyErrors
Gets all error messages of the specified property. If the propertyName is null all error messages will be returned.
(Inherited from IViewModel.)
Public methodPropertyHasError
Checks whether the specified property has errors or is valid.
(Inherited from IViewModel.)
Top
Events
  NameDescription
Public eventErrorsChanged
Occurs when the validation errors have changed for a property or for the entire entity.
(Inherited from INotifyDataErrorInfo.)
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from INotifyPropertyChanged.)
Public eventPropertyValueChanged
PropertyChanged implementation that sends old value and new value of the change and raises the INotifyPropertyChanged event.
Top
See Also
https://github.com/BionicCode/BionicCode.Net/blob/master/README.md