示例#1
0
 public static bool FindSocket(this Socket.Map map, int index, out Socket socket)
 {
     return(map.Socket(index, out socket));
 }
示例#2
0
 public static bool FindSocket <TSocket>(this Socket.Map map, int index, out TSocket socket)
     where TSocket : Socket, new()
 {
     return(map.Socket <TSocket>(index, out socket));
 }
示例#3
0
 public static bool FindSocket(this Socket.Map map, string name, out Socket socket)
 {
     return(map.Socket(name, out socket));
 }
示例#4
0
 public static bool FindSocket <TSocket>(this Socket.Map map, string name, out TSocket socket)
     where TSocket : Socket, new()
 {
     return(map.Socket <TSocket>(name, out socket));
 }