Table of Contents

Method Equals

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Equals(BsonJavaScriptWithScope)

Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope.

public bool Equals(BsonJavaScriptWithScope rhs)

Parameters

rhs BsonJavaScriptWithScope

The other BsonJavaScriptWithScope.

Returns

bool

True if the two BsonJavaScriptWithScope values are equal.

Equals(object)

Compares this BsonJavaScriptWithScope to another object.

public override bool Equals(object obj)

Parameters

obj object

The other object.

Returns

bool

True if the other object is a BsonJavaScriptWithScope and equal to this one.