public CommandInfo(CompositeCommand compositeCommand, ICommand command, IViewModel viewModel)
{
_compositeCommand = compositeCommand;
Command = command;
ViewModel = viewModel;
if (viewModel != null)
{
viewModel.ClosedAsync += OnViewModelClosedAsync;
}
}
#endregion