Exemple #1
0
 public bool Equals(QuerySnapshotWrapper other)
 {
     if (ReferenceEquals(other, null))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     if (GetType() != other.GetType())
     {
         return(false);
     }
     if (ReferenceEquals(_querySnapshot, other._querySnapshot))
     {
         return(true);
     }
     return(_querySnapshot.Equals(other._querySnapshot));
 }
Exemple #2
0
 public bool Equals(TypedQuerySnapshot <T> other)
 {
     return(QuerySnapshot.Equals(other.QuerySnapshot));
 }