void ICommand.Execute(object parameter) { var ctx = CreateContext(); Debug.Assert(ctx != null); if (ctx != null) { command.Execute(ctx); } }