Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 /// <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;
 }
Exemplo n.º 3
0
 public EventService(IEventMapperService eventMapperService, IWebApiModelService webApiModelService,
     IApiModelCacheService apiModelCacheService)
 {
     _eventMapperService = eventMapperService;
     _webApiModelService = webApiModelService;
     _apiModelCacheService = apiModelCacheService;
 }