Catel.MVVM.CompositeCommand.CommandInfo.CommandInfo C# (CSharp) Method

CommandInfo() public method

public CommandInfo ( CompositeCommand compositeCommand, ICommand command, IViewModel viewModel ) : System
compositeCommand CompositeCommand
command ICommand
viewModel IViewModel
return System
            public CommandInfo(CompositeCommand compositeCommand, ICommand command, IViewModel viewModel)
            {
                _compositeCommand = compositeCommand;

                Command = command;
                ViewModel = viewModel;

                if (viewModel != null)
                {
                    viewModel.ClosedAsync += OnViewModelClosedAsync;
                }
            }
            #endregion
CompositeCommand.CommandInfo