Exemple #1
0
 public bool Equals(DnatModule other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Persistent.Equals(other.Persistent) && Random.Equals(other.Random) &&
            ToDestination.Equals(other.ToDestination));
 }
Exemple #2
0
 public bool Equals(SnatModule other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Persistent.Equals(other.Persistent) && Random.Equals(other.Random) && ToSource.Equals(other.ToSource));
 }
 public bool Equals(SdnatModule other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Persistent.Equals(other.Persistent) && Random.Equals(other.Random) && ToSource.Equals(other.ToSource) && ToDestination.Equals(other.ToDestination) && CtMark == other.CtMark && CtMask == other.CtMask);
 }