Method StructurallyEquals

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.Core.Connections

Assembly

MongoDB.Driver.dll

StructurallyEquals(ConnectionId)

Compares all fields of two ConnectionId instances (Equals ignores the ServerValue).

public bool StructurallyEquals(ConnectionId other)

Parameters

other ConnectionId

The other ConnectionId.

Returns

bool

True if both instances are equal.