using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace mdfinder { /// A scan results model providing bindable properties. public class ScanResults : PropertyChangedAlerter { #region Members /// The duplicate files. private IEnumerable duplicateFiles; /// The selected duplicate file group. private DuplicateFileGroup selectedDuplicateFileGroup; #endregion #region Properties /// Gets or sets the duplicate files. /// The duplicate files. public IEnumerable DuplicateFiles { get { return this.duplicateFiles; } set { this.duplicateFiles = value; OnPropertyChanged(); } } /// Gets or sets the selected duplicate file group. /// The selected duplicate file group. public DuplicateFileGroup SelectedDuplicateFileGroup { get { return this.selectedDuplicateFileGroup; } set { this.selectedDuplicateFileGroup = value; OnPropertyChanged(); } } #endregion #region Constructors public ScanResults() { this.duplicateFiles = Enumerable.Empty(); this.selectedDuplicateFileGroup = new DuplicateFileGroup(Enumerable.Empty()); } #endregion } }