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