public static bool ContainsSocket <TSocket>(this Socket.Map map, string name) where TSocket : Socket, new() { TSocket tSocket; return(map.FindSocket <TSocket>(name, out tSocket)); }
public static bool ContainsSocket <TSocket>(this Socket.Map map, int index) where TSocket : Socket, new() { TSocket tSocket; return(map.FindSocket <TSocket>(index, out tSocket)); }
public static bool ContainsSocket(this Socket.Map map, int index) { Socket socket; return(map.FindSocket(index, out socket)); }
public static bool ContainsSocket(this Socket.Map map, string name) { Socket socket; return(map.FindSocket(name, out socket)); }