public static void NServiceBusHost(this ProtoServer server, Action <NServiceBusHostOptions> action) { var cfg = new NServiceBusHostConfigurator(new DotNetPath()); action(cfg); server.RegisterProtoTask(cfg); }
public static void NServiceBusHost(this ProtoServer server, Action<NServiceBusHostOptions> action) { var cfg = new NServiceBusHostConfigurator(new DotNetPath()); action(cfg); server.RegisterProtoTask(cfg); }