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)); }
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)); }
public static int SocketIndex(this Socket.Mapped mapped, string name) { int num; mapped.GetSocketMapOrNull().SocketIndex(name, out num); return(num); }
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 <TSocket>(this Socket.Mapped mapped, int index, out TSocket socket) where TSocket : Socket, new() { return(mapped.GetSocketMapOrNull().Socket <TSocket>(index, out socket)); }
public static bool ContainsSocket(this Socket.Mapped mapped, int index) { Socket socket; return(mapped.GetSocketMapOrNull().FindSocket(index, out socket)); }
public static bool ContainsSocket(this Socket.Mapped mapped, string name) { Socket socket; return(mapped.GetSocketMapOrNull().FindSocket(name, out socket)); }
public static bool FindSocket(this Socket.Mapped mapped, int index, out Socket socket) { return(mapped.GetSocketMapOrNull().Socket(index, out socket)); }
public static bool FindSocket(this Socket.Mapped mapped, string name, out Socket socket) { return(mapped.GetSocketMapOrNull().Socket(name, out socket)); }