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); }
public static bool FindSocket(this Socket.Map map, string name, out Socket socket) { Socket.Map.Reference reference = map; return(reference.Socket(name, out socket)); }
public static bool FindSocket <TSocket>(this Socket.Map map, string name, out TSocket socket) where TSocket : Socket, new() { Socket.Map.Reference reference = map; return(reference.Socket <TSocket>(name, out socket)); }
public static bool FindSocket(this Socket.Map map, int index, out Socket socket) { Socket.Map.Reference reference = map; return(reference.Socket(index, out socket)); }