public MainViewModel(IDialogService dialogService, IErrorService errorService) { _dialogService = dialogService; _errorService = errorService; OpenFileCommand = new RelayCommand(OpenFile); _showScoreInfoCommand = new RelayCommand(ShowScoreInfo, () => _score != null); }