Пример #1
0
 protected virtual bool Equals(SocialSecurityInfo other)
 {
     if (ReferenceEquals(null, other))
     {
         return false;
     }
     if (ReferenceEquals(this, other))
     {
         return true;
     }
     return Equals(other.Type, this.Type) && other.Has.Equals(this.Has) && other.OthersDuration.Equals(this.OthersDuration);
 }
Пример #2
0
 protected virtual bool Equals(SocialSecurityInfo other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other.Type, this.Type) && other.Has.Equals(this.Has) && other.OthersDuration.Equals(this.OthersDuration));
 }