Table of Contents

Method Equals

Namespace
MongoDB.Driver.Core.Clusters
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(ElectionId)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ElectionId other)

Parameters

other ElectionId

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.