EndPointHelperSequenceEquals Method |
Compares two sequences of end points.
Namespace:
MongoDB.Driver.Core.Misc
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax public static bool SequenceEquals(
IEnumerable<EndPoint> a,
IEnumerable<EndPoint> b
)
Public Shared Function SequenceEquals (
a As IEnumerable(Of EndPoint),
b As IEnumerable(Of EndPoint)
) As Boolean
static member SequenceEquals :
a : IEnumerable<EndPoint> *
b : IEnumerable<EndPoint> -> bool
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:
BooleanTrue if both sequences contain the same end points in the same order, or if both sequences are null.
See Also