Method Contains
Contains(IEnumerable<EndPoint>, EndPoint)
Determines whether a list of end points contains a specific end point.
public static bool Contains(IEnumerable<EndPoint> endPoints, EndPoint endPoint)
Parameters
endPoints
IEnumerable<EndPoint>The list of end points.
endPoint
EndPointThe specific end point to search for.
Returns
- bool
True if the list of end points contains the specific end point.