예제 #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));
 }