Example #1
0
 public bool Equals(TestSnapshot other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other.Name, Name)
            && Equals(other.EventSourceId, EventSourceId)
            && Equals(other.EventSourceVersion, EventSourceVersion);
 }
Example #2
0
 public bool Equals(TestSnapshot other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other.Name, Name));
 }
Example #3
0
 public bool Equals(TestSnapshot other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other.Name, Name) &&
            Equals(other.EventSourceId, EventSourceId) &&
            Equals(other.EventSourceVersion, EventSourceVersion));
 }
Example #4
0
 public bool Equals(TestSnapshot other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other.Name, Name);
 }