Table of Contents

Method Equals

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Equals(object)

Determines whether the specified object is equal to this instance.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

Equals(MongoIdentity)

Determines whether the specified instance is equal to this instance.

public bool Equals(MongoIdentity rhs)

Parameters

rhs MongoIdentity

The right-hand side.

Returns

bool

true if the specified instance is equal to this instance; otherwise, false.