aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/packages.config
blob: a0c68600c89c0cd90a19360accc5c3a349ae7737 (plain)
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="CommonServiceLocator" version="1.3" targetFramework="net46" />
  <package id="EntityFramework" version="6.2.0" targetFramework="net461" />
  <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" />
  <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" />
  <package id="MahApps.Metro" version="1.5.0" targetFramework="net46" />
  <package id="MaterialDesignColors" version="1.1.2" targetFramework="net46" />
  <package id="MaterialDesignThemes" version="2.3.1.953" targetFramework="net46" />
</packages>
highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core;

namespace Tango.MachineStudio.HardwareDesigner.Comparison
{
    /// <summary>
    /// class HardwareCompareResult contains collection of HardwareComponentCollectionCompareResult
    /// </summary>
    /// <seealso cref="Tango.MachineStudio.HardwareDesigner.Comparison.IHasDifference" />
    public class HardwareCompareResult: IHasDifference
    {
        /// <summary>
        /// Gets or sets the collections.
        /// </summary>
        /// <value>
        /// The collections.
        /// </value>
        public SynchronizedObservableCollection<HardwareComponentCollectionCompareResult> Collections { get; set; }

        public bool HasDifferences
        {
            get
            {
                return Collections.Any(item => item.HasDifferences);
            }
        }

        public HardwareCompareResult()
        {
            Collections = new SynchronizedObservableCollection<HardwareComponentCollectionCompareResult>();
        }
    }
}