Method Equals
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
object
The object to compare with the current object.
Returns
true if the specified object is equal to the current object; otherwise, false.
Equals(ServerDescription)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ServerDescription other)
Parameters
other
ServerDescription
An object to compare with this object.
Returns
true if the current object is equal to the other
parameter; otherwise, false.