IValidatableViewModel Interface |
Namespace: Cauldron.XAML.ViewModels
public interface IValidatableViewModel : IViewModel, INotifyPropertyChanged, INotifyBehaviourInvocation, INotifyDataErrorInfo, IDisposableObject, IDisposable
The IValidatableViewModel type exposes the following members.
Name | Description | |
---|---|---|
Dispatcher |
Gets the Dispatcher this IDispatcher is associated with.
(Inherited from IViewModel.) | |
Id |
Gets the unique Id of the view model
(Inherited from IViewModel.) | |
IsDisposed |
Gets a value indicating if the object has been disposed or not
(Inherited from IDisposableObject.) | |
IsLoading |
Gets or sets a value that indicates if the viewmodel is loading
(Inherited from IViewModel.) | |
IsValidating |
Gets a value that indicates that the properties are currently being validated.
|
Name | Description | |
---|---|---|
OnException |
Centralized error handling
(Inherited from IViewModel.) | |
RaiseNotifyBehaviourInvoke |
Invokes the BehaviourInvoke event
(Inherited from IViewModel.) | |
RaisePropertyChanged |
Invokes the PropertyChanged event
(Inherited from IViewModel.) | |
ValidateAsync |
Starts a validation on all properties
| |
ValidateAsync(String) |
Starts a validation on a property defined by name.
| |
ValidateAsync(PropertyInfo, String) |
Starts a validation on a property defined by name.
|
Name | Description | |
---|---|---|
BehaviourInvoke |
Occures if a behaviour should be invoked
(Inherited from INotifyBehaviourInvocation.) | |
Disposed |
Occures if the object has been disposed
(Inherited from IDisposableObject.) | |
IsLoadingChanged |
Occures if the IsLoading property has changed.
(Inherited from IViewModel.) | |
Validating |
Occured if a property is veing validated.
|
Name | Description | |
---|---|---|
Run |
Handles neccessary setting of the IsLoading flag if implemented and the error handling
(Defined by Extensions.) | |
RunAsync |
Handles neccessary setting of the IsLoading flag and the error handling
(Defined by Extensions.) | |
RunDispatcherAsync |
Runs the action asyncronously using the Dispatcher on the lowest priority.
Handles neccessary setting of the IsLoading flag and the error handling.
(Defined by Extensions.) |