public RabbitConfiguration AddBroker( Action<RabbitBrokerFluentConfigurator> configurate ) { var configurator = new RabbitBrokerFluentConfigurator(); configurate( configurator ); AddBroker( configurator.RabbitBroker ); return this; }
public RabbitConfigurator Server(Action <RabbitBrokerFluentConfigurator> configurate) { var configurator = new RabbitBrokerFluentConfigurator(); configurate(configurator); Configuration.AddBroker(configurator.RabbitBroker); return(this); }