public Publisher(Action <IServiceBusConfigurator> busConfigureAction, Action <PublishSettings> publishConfigureAction = null) { _publishSettings = new PublishSettings(); if (publishConfigureAction != null) { publishConfigureAction(_publishSettings); } _publishSettings.Validate(); Initialize(busConfigureAction); }
public Publisher(Action <IServiceBusConfigurator> busConfigureAction, PublishSettings publishSettings) { _publishSettings = publishSettings; Initialize(busConfigureAction); }