Méthode | Description | |
---|---|---|
AddInterestedViewModel ( IViewModel viewModel ) : void |
Adds a view model to the list of interested view models for this view model type.
|
|
AddViewModelInstance ( IViewModel viewModel ) : void |
Adds a view model instance to the list of instances.
|
|
ManagedViewModel ( |
Initializes a new instance of the ManagedViewModel class.
|
|
RemoveInterestedViewModel ( IViewModel viewModel ) : void |
Removes a view model from the list of interested view models for this view model type.
|
|
RemoveViewModelInstance ( IViewModel viewModel ) : void |
Removes a view model instance from the list of instances.
|
Méthode | Description | |
---|---|---|
Clear ( ) : void |
Clears all the currently registered view models. This method should only be called during unit testing. |
|
NotifyViewModelsOfEvent ( IViewModel viewModel, ViewModelEvent viewModelEvent, |
Notifies all interested view models of an event that took place.
|
|
OnInterestedViewModelClosedAsync ( object sender, |
Called when the ViewModelBase.Closed event is raised.
|
|
OnViewModelCanceledAsync ( object sender, |
Called when the ViewModelBase.Canceled event is raised.
|
|
OnViewModelCancelingAsync ( object sender, |
Called when the ViewModelBase.Canceling event is raised.
|
|
OnViewModelClosedAsync ( object sender, |
Called when the ViewModelBase.Canceled event is raised.
|
|
OnViewModelCommandExecutedAsync ( object sender, Catel.MVVM.CommandExecutedEventArgs e ) : Task |
Called when the ViewModelBase.CommandExecuted event is raised.
|
|
OnViewModelPropertyChanged ( object sender, |
Handles the PropertyChanged event of the ViewModel instances.
|
|
OnViewModelSavedAsync ( object sender, |
Called when the ViewModelBase.Saved event is raised.
|
|
OnViewModelSavingAsync ( object sender, |
Called when the ViewModelBase.Saving event is raised.
|
public AddInterestedViewModel ( IViewModel viewModel ) : void | ||
viewModel | IViewModel | The view model instance that is interested in changes. |
Résultat | void |
public AddViewModelInstance ( IViewModel viewModel ) : void | ||
viewModel | IViewModel | The view model instance to add. |
Résultat | void |
public ManagedViewModel ( |
||
viewModelType | Type of the view model. | |
Résultat | System |
public RemoveInterestedViewModel ( IViewModel viewModel ) : void | ||
viewModel | IViewModel | The view model instance that is interested in changes. |
Résultat | void |
public RemoveViewModelInstance ( IViewModel viewModel ) : void | ||
viewModel | IViewModel | The view model instance to remove. |
Résultat | void |