I have an ICommand
that I want to fire (make the execute go) from code; how do I do this?
Assuming there is someCommand
with commandArgs
:
if (someCommand.CanExecute(commandArgs))
{
someCommand.Execute(commandArgs);
}
Try calling the Execute
method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With