Пример #1
0
        public static void NServiceBusHost(this ProtoServer server, Action <NServiceBusHostOptions> action)
        {
            var cfg = new NServiceBusHostConfigurator(new DotNetPath());

            action(cfg);
            server.RegisterProtoTask(cfg);
        }
Пример #2
0
 public static void NServiceBusHost(this ProtoServer server, Action<NServiceBusHostOptions> action)
 {
     var cfg = new NServiceBusHostConfigurator(new DotNetPath());
     action(cfg);
     server.RegisterProtoTask(cfg);
 }