Operator operator ==
operator ==(MongoCredential, MongoCredential)
Compares two MongoCredentials.
public static bool operator ==(MongoCredential lhs, MongoCredential rhs)
Parameters
lhs
MongoCredentialThe first MongoCredential.
rhs
MongoCredentialThe other MongoCredential.
Returns
- bool
True if the two MongoCredentials are equal (or both null).