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