/// <summary> /// Generates a new card list using the current settings /// </summary> /// <returns>True if the list was successfully generated, false otherwise</returns> public bool GenerateCardList() { if (this.Settings.SelectedSets.Count == 0) { return(false); } try { this.IsGenerating = true; // Save the sort order from the current result if there is one. ResultSortOrder sortOrder = this.Result != null ? this.Result.SortOrder : ResultSortOrder.Name; this.Result = Picker.GenerateCardList(this.Settings, sortOrder); } finally { this.IsGenerating = false; } return(this.Result != null); }