Exemplo n.º 1
0
 public bool Equals(EffectMinMax other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(base.Equals(other) && other.m_maxvalue == m_maxvalue && other.m_minvalue == m_minvalue);
 }
Exemplo n.º 2
0
        public override bool Equals(object obj)
        {
            bool result;

            if (!(obj is EffectMinMax))
            {
                result = false;
            }
            else
            {
                EffectMinMax effectMinMax = obj as EffectMinMax;
                result = (base.Equals(obj) && this.m_minvalue == effectMinMax.m_minvalue && this.m_maxvalue == effectMinMax.m_maxvalue);
            }
            return(result);
        }
Exemplo n.º 3
0
 public EffectMinMax(EffectMinMax copy)
     : this(copy.Id, copy.ValueMin, copy.ValueMax, copy)
 {
 }
Exemplo n.º 4
0
 public bool Equals(EffectMinMax other)
 {
     return(!object.ReferenceEquals(null, other) && (object.ReferenceEquals(this, other) || (base.Equals(other) && other.m_maxvalue == this.m_maxvalue && other.m_minvalue == this.m_minvalue)));
 }