Catel.MVVM.ViewModelBase.OnViewModelEvent C# (CSharp) Method

OnViewModelEvent() protected method

Called when an event for a view model type that the current view model is interested in has been raised. This can be accomplished by decorating the view model with the InterestedInAttribute.
protected OnViewModelEvent ( IViewModel viewModel, ViewModelEvent viewModelEvent, EventArgs e ) : void
viewModel IViewModel The view model.
viewModelEvent ViewModelEvent The view model event.
e System.EventArgs The instance containing the event data.
return void
        protected virtual void OnViewModelEvent(IViewModel viewModel, ViewModelEvent viewModelEvent, EventArgs e)
        {
        }