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
- endPointsIEnumerable<EndPoint>
- The list of end points. 
- endPointEndPoint
- The specific end point to search for. 
Returns
- bool
- True if the list of end points contains the specific end point.