예제 #1
0
        /// <summary cref="IEncodeable.IsEqual(IEncodeable)" />
        public virtual bool IsEqual(IEncodeable encodeable)
        {
            if (Object.ReferenceEquals(this, encodeable))
            {
                return(true);
            }

            ApplyResult value = encodeable as ApplyResult;

            if (value == null)
            {
                return(false);
            }

            if (!Utils.IsEqual(m_status, value.m_status))
            {
                return(false);
            }
            if (!Utils.IsEqual(m_transferIncidents, value.m_transferIncidents))
            {
                return(false);
            }

            return(true);
        }
예제 #2
0
        /// <summary cref="Object.MemberwiseClone" />
        public new object MemberwiseClone()
        {
            ApplyResult clone = (ApplyResult)base.MemberwiseClone();

            clone.m_status            = (int)Utils.Clone(this.m_status);
            clone.m_transferIncidents = (TransferIncidentCollection)Utils.Clone(this.m_transferIncidents);

            return(clone);
        }