コード例 #1
0
 private void RecalculateCanExecute(object obj = null)
 {
     this.CanExecute = SelectedResults != null &&
                       !string.IsNullOrWhiteSpace(this.env1) &&
                       !string.IsNullOrWhiteSpace(this.env2) &&
                       SelectedResults.Any(_ => !_.IsActioned()) &&
                       additionalCriteriaOnSelectedResults(this.SelectedResults);
 }