Table of Contents

Operator operator ==

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

operator ==(MongoUrl, MongoUrl)

Compares two MongoUrls.

public static bool operator ==(MongoUrl lhs, MongoUrl rhs)

Parameters

lhs MongoUrl

The first URL.

rhs MongoUrl

The other URL.

Returns

bool

True if the two URLs are equal (or both null).