Ejemplo n.º 1
0
        public Publisher(Action <IServiceBusConfigurator> busConfigureAction, Action <PublishSettings> publishConfigureAction = null)
        {
            _publishSettings = new PublishSettings();
            if (publishConfigureAction != null)
            {
                publishConfigureAction(_publishSettings);
            }

            _publishSettings.Validate();

            Initialize(busConfigureAction);
        }
Ejemplo n.º 2
0
        public Publisher(Action <IServiceBusConfigurator> busConfigureAction, PublishSettings publishSettings)
        {
            _publishSettings = publishSettings;

            Initialize(busConfigureAction);
        }