Exemple #1
0
    public static bool ContainsSocket <TSocket>(this Socket.Map map, string name)
        where TSocket : Socket, new()
    {
        TSocket tSocket;

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

        return(map.FindSocket <TSocket>(index, out tSocket));
    }
Exemple #3
0
    public static bool ContainsSocket(this Socket.Map map, int index)
    {
        Socket socket;

        return(map.FindSocket(index, out socket));
    }
Exemple #4
0
    public static bool ContainsSocket(this Socket.Map map, string name)
    {
        Socket socket;

        return(map.FindSocket(name, out socket));
    }