![]() | IViewModel Interface |
Namespace: Cauldron.XAML.ViewModels
public interface IViewModel : INotifyPropertyChanged, INotifyBehaviourInvocation
The IViewModel type exposes the following members.
Name | Description | |
---|---|---|
![]() | Dispatcher |
Gets the Dispatcher this IDispatcher is associated with.
|
![]() | Id |
Gets the unique Id of the view model
|
![]() | IsLoading |
Gets or sets a value that indicates if the viewmodel is loading
|
Name | Description | |
---|---|---|
![]() | OnException |
Centralized error handling
|
![]() | RaiseNotifyBehaviourInvoke |
Invokes the BehaviourInvoke event
|
![]() | RaisePropertyChanged |
Invokes the PropertyChanged event
|
Name | Description | |
---|---|---|
![]() | BehaviourInvoke |
Occures if a behaviour should be invoked
(Inherited from INotifyBehaviourInvocation.) |
![]() | IsLoadingChanged |
Occures if the IsLoading property has changed.
|
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.) |