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