I like this approach:
public ICommand MyCommand => new RelayCommand( () => { /* Command logic here */ }, () => { /* CanExecute logic here */ } );