public DefaultMessageBus(IEnumerable <IMessageBroker> messageBrokers, IHostNameProvider hostNameProvider) { _hostNameProvider = hostNameProvider; _messageBroker = messageBrokers.FirstOrDefault(); Logger = NullLogger.Instance; }
public RabbitMQMessageBusBroker(IRabbitMQConnectionProvider rabbitMQConnectionProvider, IHostNameProvider hostNameProvider) { _rabbitMQConnectionProvider = rabbitMQConnectionProvider; _hostNameProvider = hostNameProvider; _connectionString = _rabbitMQConnectionProvider.GetConnectionString(ConnectionStringKey); _connection = _rabbitMQConnectionProvider.GetConnection(_connectionString); }
/// <summary> /// Initializes a new instance of the <see cref="T:System.Object"/> class. /// </summary> public TcpSmtpVerifier(IHostNameProvider a_hostNameProvider) { if (a_hostNameProvider == null) { throw new ArgumentNullException("a_hostNameProvider"); } m_hostNameProvider = a_hostNameProvider; }
public Worker(ShellSettings shellSettings, IHostNameProvider hostNameProvider) { _hostNameProvider = hostNameProvider; _shellSettings = shellSettings; var tablePrefix = _shellSettings.DataTablePrefix; if (!String.IsNullOrWhiteSpace(tablePrefix)) { tablePrefix += "_"; } commandText = String.Format(commandText, tablePrefix); Logger = NullLogger.Instance; }
public RemoteTenantConfig(IConnectionStringProviderRepository connectionStringProvider, IHostNameProvider hostNameProvider) { _connectionStringProvider = connectionStringProvider; _hostNameProvider = hostNameProvider; }
public S3StorageProvider(IHostNameProvider hostNameProvider) { BucketName = S3Utilities.GetBucketName(hostNameProvider.GetHostName()); ClientHelper = new S3ClientHelper(Config.AwsKey, Config.AwsSecretKey); }
public DefaultMessageBus(IEnumerable<IMessageBroker> messageBrokers, IHostNameProvider hostNameProvider) { _hostNameProvider = hostNameProvider; _messageBroker = messageBrokers.FirstOrDefault(); Logger = NullLogger.Instance; }
public S3JobAttachmentDataRepository(IHostNameProvider hostNameProvider) : base(hostNameProvider) { }
public EntityIdProviderFromWebService(IHostNameProvider configDomainProvider) { _configDomainProvider = configDomainProvider; }