コード例 #1
0
 public bool Equals(EffectMount other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(base.Equals(other) && other.m_date.Equals(m_date) && other.m_modelId == m_modelId &&
            other.m_mountId == m_mountId);
 }
コード例 #2
0
        public override bool Equals(object obj)
        {
            bool result;

            if (!(obj is EffectMount))
            {
                result = false;
            }
            else
            {
                EffectMount effectMount = obj as EffectMount;
                result = (base.Equals(obj) && this.m_mountId == effectMount.m_mountId && this.m_date == effectMount.m_date && this.m_modelId == effectMount.m_modelId);
            }
            return(result);
        }
コード例 #3
0
 public EffectMount(EffectMount copy)
     : this(copy.Id, copy.m_mountId, copy.m_date, copy.m_modelId, copy)
 {
 }
コード例 #4
0
 public bool Equals(EffectMount other)
 {
     return(!object.ReferenceEquals(null, other) && (object.ReferenceEquals(this, other) || (base.Equals(other) && other.m_date.Equals(this.m_date) && other.m_modelId == this.m_modelId && other.m_mountId == this.m_mountId)));
 }