public LocationInfoManager(IPublisherService publisherService, IMapper mapper, ILocationInfoDal locationInfoDal, ICacheManager cacheManager, IObjectDataConverter objectDataConverter, IDistributedCache distributedCache, IOptions <LocationOptions> locationOptions, IOptions <RedisOptions> redisOptions) { _locationInfoDal = locationInfoDal; _mapper = mapper; _publisherService = publisherService; _cacheManager = cacheManager; _objectDataConverter = objectDataConverter; _distributedCache = distributedCache; _locationOptions = locationOptions.Value; _redisOptions = redisOptions.Value; }
public FileOperationConsumerManager(IRabbitMqService rabbitMqServices, IObjectDataConverter objectDataConverter, ILocationInfoService locationInfoService) { _rabbitMqServices = rabbitMqServices; _objectDataConverter = objectDataConverter; _locationInfoService = locationInfoService ?? throw new ArgumentNullException(nameof(locationInfoService)); }
public PublisherManager(IRabbitMqService rabbitMqServices, IObjectDataConverter objectDataConverter) { _rabbitMqServices = rabbitMqServices; _objectDataConverter = objectDataConverter; }