public WarmStorageProcessor( Func <string, IElasticSearchWriter> elasticSearchWriterFactory, string eventHubName, IBuildingLookupService buildingLookupService) { Guard.ArgumentNotNull(elasticSearchWriterFactory, "elasticSearchWriterFactory"); Guard.ArgumentNotNullOrEmpty(eventHubName, "eventHubName"); _elasticSearchWriterFactory = elasticSearchWriterFactory; _eventHubName = eventHubName; _buildingLookupService = buildingLookupService; }
public WarmStorageProcessor( Func<string, IElasticSearchWriter> elasticSearchWriterFactory, string eventHubName, IBuildingLookupService buildingLookupService) { Guard.ArgumentNotNull(elasticSearchWriterFactory, "elasticSearchWriterFactory"); Guard.ArgumentNotNullOrEmpty(eventHubName, "eventHubName"); _elasticSearchWriterFactory = elasticSearchWriterFactory; _eventHubName = eventHubName; _buildingLookupService = buildingLookupService; }