public RegisterCommand ( ICommand command, IViewModel viewModel = null ) : void | ||
command | ICommand | The command. |
viewModel | IViewModel | The view model. If specified, the command will automatically be unregistered when the view model is closed. |
Résultat | void |