using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tango.Core; namespace Tango.MachineStudio.HardwareDesigner.Comparison { /// /// class HardwareCompareResult contains collection of HardwareComponentCollectionCompareResult /// /// public class HardwareCompareResult: IHasDifference { /// /// Gets or sets the collections. /// /// /// The collections. /// public SynchronizedObservableCollection Collections { get; set; } public bool HasDifferences { get { return Collections.Any(item => item.HasDifferences); } } public HardwareCompareResult() { Collections = new SynchronizedObservableCollection(); } } }