public void SetCanExecute (bool value) { if (_canExecute != value) { _canExecute = value; CanExecuteChanged?.Invoke (this, EventArgs.Empty); } } }