Click or drag to resize

EndPointHelperSequenceEquals Method

Compares two sequences of end points.

Namespace:  MongoDB.Driver.Core.Misc
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public static bool SequenceEquals(
	IEnumerable<EndPoint> a,
	IEnumerable<EndPoint> b
)

Parameters

a
Type: System.Collections.GenericIEnumerableEndPoint
The first sequence of end points.
b
Type: System.Collections.GenericIEnumerableEndPoint
The second sequence of end points.

Return Value

Type: Boolean
True if both sequences contain the same end points in the same order, or if both sequences are null.
See Also