Пример #1
0
        /// <summary>
        /// Determines if the leaf content of this subgrid is equal to 'other'
        /// </summary>
        /// <param name="other"></param>
        /// <returns></returns>
        public override bool LeafContentEquals(IClientLeafSubGrid other)
        {
            bool result = true;

            IGenericClientLeafSubGrid <SubGridCellPassDataMDPEntryRecord> _other = (IGenericClientLeafSubGrid <SubGridCellPassDataMDPEntryRecord>)other;

            ForEach((x, y) => result &= Cells[x, y].Equals(_other.Cells[x, y]));

            return(result);
        }
Пример #2
0
        /// <summary>
        /// Determines if the leaf content of this sub grid is equal to 'other'
        /// </summary>
        /// <param name="other"></param>
        /// <returns></returns>
        public override bool LeafContentEquals(IClientLeafSubGrid other)
        {
            bool result = true;

            IGenericClientLeafSubGrid <ushort> _other = (IGenericClientLeafSubGrid <ushort>)other;

            ForEach((x, y) => result &= Cells[x, y] == _other.Cells[x, y]);

            return(result);
        }
Пример #3
0
        /// <summary>
        /// Determines if the leaf content of this subgrid is equal to 'other'
        /// </summary>
        /// <param name="other"></param>
        /// <returns></returns>
        public override bool LeafContentEquals(IClientLeafSubGrid other)
        {
            bool result = true;

            IGenericClientLeafSubGrid <MachineSpeedExtendedRecord> _other = (IGenericClientLeafSubGrid <MachineSpeedExtendedRecord>)other;

            ForEach((x, y) => result &= Cells[x, y].Equals(_other.Cells[x, y]));

            return(result);
        }
Пример #4
0
        public override bool LeafContentEquals(IClientLeafSubGrid other)
        {
            bool result = true;

            IGenericClientLeafSubGrid <ClientCellProfileAllPassesLeafSubgridRecord> _other = (IGenericClientLeafSubGrid <ClientCellProfileAllPassesLeafSubgridRecord>)other;

            ForEach((x, y) => result &= Cells[x, y].Equals(_other.Cells[x, y]));

            return(result);
        }