Esempio n. 1
0
    public static bool ContainsSocket <TSocket>(this Socket.Mapped mapped, int index)
        where TSocket : Socket, new()
    {
        TSocket tSocket;

        return(mapped.GetSocketMapOrNull().FindSocket <TSocket>(index, out tSocket));
    }
Esempio n. 2
0
    public static bool ContainsSocket <TSocket>(this Socket.Mapped mapped, string name)
        where TSocket : Socket, new()
    {
        TSocket tSocket;

        return(mapped.GetSocketMapOrNull().FindSocket <TSocket>(name, out tSocket));
    }
Esempio n. 3
0
    public static int SocketIndex(this Socket.Mapped mapped, string name)
    {
        int num;

        mapped.GetSocketMapOrNull().SocketIndex(name, out num);
        return(num);
    }
Esempio n. 4
0
    public static int SocketIndex(this Socket.Mapped mapped, string name)
    {
        int num;

        Socket.Map.Reference socketMapOrNull = mapped.GetSocketMapOrNull();
        socketMapOrNull.SocketIndex(name, out num);
        return(num);
    }
Esempio n. 5
0
 public static bool FindSocket <TSocket>(this Socket.Mapped mapped, int index, out TSocket socket)
     where TSocket : Socket, new()
 {
     return(mapped.GetSocketMapOrNull().Socket <TSocket>(index, out socket));
 }
Esempio n. 6
0
    public static bool ContainsSocket(this Socket.Mapped mapped, int index)
    {
        Socket socket;

        return(mapped.GetSocketMapOrNull().FindSocket(index, out socket));
    }
Esempio n. 7
0
    public static bool ContainsSocket(this Socket.Mapped mapped, string name)
    {
        Socket socket;

        return(mapped.GetSocketMapOrNull().FindSocket(name, out socket));
    }
Esempio n. 8
0
 public static bool FindSocket(this Socket.Mapped mapped, int index, out Socket socket)
 {
     return(mapped.GetSocketMapOrNull().Socket(index, out socket));
 }
Esempio n. 9
0
 public static bool FindSocket(this Socket.Mapped mapped, string name, out Socket socket)
 {
     return(mapped.GetSocketMapOrNull().Socket(name, out socket));
 }