Exemplo n.º 1
0
 public static ISocketHookService CreateWith(this ISocketHookServiceFactory factory, IEnumerable <IPAddress> ips,
                                             int redirectedToPort) => factory.CreateWith(new InjectOptions(redirectedToPort, ips.Select(ip => ip.ToString())));
Exemplo n.º 2
0
 public static ISocketHookService CreateWith(this ISocketHookServiceFactory factory, IEnumerable <string> ips,
                                             int redirectedToPort) => factory.CreateWith(new InjectOptions(redirectedToPort, ips));