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