public EventHubFactoryConfigurator() { _observers = new RiderObservable(); _endpointObservers = new ReceiveEndpointObservable(); _endpoints = new List <IEventHubReceiveEndpointSpecification>(); _hostSettings = new HostSettings(); _storageSettings = new StorageSettings(); _producerSpecification = new EventHubProducerSpecification(_hostSettings); }
public EventHubFactoryConfigurator() { _endpointObservers = new ReceiveEndpointObservable(); _endpoints = new List <IEventHubReceiveEndpointSpecification>(); _hostSettings = new HostSettings(); _storageSettings = new StorageSettings(); _producerSpecification = new EventHubProducerSpecification(this, _hostSettings); _connectionContextSupervisor = new Recycle <IConnectionContextSupervisor>(() => new ConnectionContextSupervisor(_hostSettings, _storageSettings, _producerSpecification.ConfigureOptions)); }