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

INotifyableViewModel() private method

Called when a command for a view model type that the current view model is interested in has been executed. This can be accomplished by decorating the view model with the InterestedInAttribute.
This method should only be called by Catel so the ManagedViewModel can invoke it. This method is only used as a pass-through to the actual OnViewModelCommandExecuted method.
private INotifyableViewModel ( IViewModel viewModel, ICatelCommand command, object commandParameter ) : void
viewModel IViewModel The view model.
command ICatelCommand The command that has been executed.
commandParameter object The command parameter used during the execution.
return void
        void INotifyableViewModel.ViewModelCommandExecuted(IViewModel viewModel, ICatelCommand command, object commandParameter)
        {
            Log.Debug("A view model ('{0}') the current view model ('{1}') is interested in has executed a command with tag '{2}'",
                viewModel.GetType(), GetType(), ObjectToStringHelper.ToString(command.Tag));

            OnViewModelCommandExecuted(viewModel, command, commandParameter);
        }

Same methods

ViewModelBase::INotifyableViewModel ( IViewModel viewModel, ViewModelEvent viewModelEvent, EventArgs e ) : void
ViewModelBase::INotifyableViewModel ( IViewModel viewModel, string propertyName ) : void