Exemplo n.º 1
0
 public Agent(ILogger logger,
              IServicesConfig servicesConfig,
              IEventProcessorHostWrapper eventProcessorHostWrapper,
              IEventProcessorFactory actionsEventProcessorFactory)
 {
     this.logger         = logger;
     this.servicesConfig = servicesConfig;
     this.actionsEventProcessorFactory = actionsEventProcessorFactory;
     this.eventProcessorHostWrapper    = eventProcessorHostWrapper;
 }
Exemplo n.º 2
0
 public Agent(
     IDeviceGroupsWriter deviceGroupsWriter,
     IDeviceGroupsClient deviceGroupsClient,
     IEventProcessorHostWrapper eventProcessorHostWrapper,
     IEventProcessorFactory deviceEventProcessorFactory,
     IEventHubStatus eventHubStatus,
     IServicesConfig servicesConfig,
     IBlobStorageConfig blobStorageConfig,
     ILogger logger,
     IThreadWrapper thread)
 {
     this.log = logger;
     this.deviceGroupsWriter          = deviceGroupsWriter;
     this.deviceGroupsClient          = deviceGroupsClient;
     this.eventProcessorHostWrapper   = eventProcessorHostWrapper;
     this.deviceEventProcessorFactory = deviceEventProcessorFactory;
     this.eventHubStatus    = eventHubStatus;
     this.servicesConfig    = servicesConfig;
     this.blobStorageConfig = blobStorageConfig;
     this.deviceGroupDefinitionDictionary = new Dictionary <string, string>();
     this.thread = thread;
 }