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); }
public EffectDuration(EffectDuration copy) : this(copy.Id, copy.m_days, copy.m_hours, copy.m_minutes, copy) { }
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))); }