Ejemplo n.º 1
0
 public bool Equals(EffectDuration other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(base.Equals(other) && other.m_days == m_days && other.m_hours == m_hours &&
            other.m_minutes == m_minutes);
 }
Ejemplo n.º 2
0
 public EffectDuration(EffectDuration copy)
     : this(copy.Id, copy.m_days, copy.m_hours, copy.m_minutes, copy)
 {
 }
Ejemplo n.º 3
0
 public bool Equals(EffectDuration other)
 {
     return(!object.ReferenceEquals(null, other) && (object.ReferenceEquals(this, other) || (base.Equals(other) && other.m_days == this.m_days && other.m_hours == this.m_hours && other.m_minutes == this.m_minutes)));
 }