To make this work I needed access to the applications event dispatcher. Rather than making that public in the application, the application injects it into the command when the command is added to the application.