public ProducerConfigurationBuilder(IDependencyConfigurator dependencyConfigurator, string name)
 {
     this.name = name;
     this.DependencyConfigurator         = dependencyConfigurator;
     this.middlewareConfigurationBuilder = new ProducerMiddlewareConfigurationBuilder(dependencyConfigurator);
 }
 public ProducerConfigurationBuilder(IDependencyConfigurator dependencyConfigurator, Type type)
 {
     this.DependencyConfigurator         = dependencyConfigurator;
     this.producerType                   = type;
     this.middlewareConfigurationBuilder = new ProducerMiddlewareConfigurationBuilder(dependencyConfigurator);
 }