/// <summary> /// Initializes a new instance of the <see cref="EventPusherService"/> class. /// </summary> /// <param name="logger">The logger.</param> /// <param name="bridgeClient">The bridge client.</param> /// <param name="eventMapperService">The mapper service.</param> public EventPusherService(ILogger <EventPusherService> logger, IBridgeClient bridgeClient, IEventMapperService eventMapperService) { _logger = logger; _bridgeClient = bridgeClient; _eventMapperService = eventMapperService; }
/// <summary> /// Initializes a new instance of the <see cref="DelegationChangeEventQueue"/> class. /// </summary> /// <param name="eventMapperService">Mapper service responsible for mapping models</param> /// <param name="storageConfig">Azure storage queue config</param> public DelegationChangeEventQueue(IEventMapperService eventMapperService, IOptions <AzureStorageConfiguration> storageConfig) { _eventMapperService = eventMapperService; _storageConfig = storageConfig.Value; }
public EventService(IEventMapperService eventMapperService, IWebApiModelService webApiModelService, IApiModelCacheService apiModelCacheService) { _eventMapperService = eventMapperService; _webApiModelService = webApiModelService; _apiModelCacheService = apiModelCacheService; }