public ThingBuilder(IGatewayRepository gatewayRepository, IThingRepository thingRepository, IThingTemplateRepository thingTemplateRepository, IThingChannelBuilder thingChannelBuilder, IMessageHub messageHub) { _gatewayRepository = gatewayRepository; _thingRepository = thingRepository; _thingTemplateRepository = thingTemplateRepository; _thingChannelBuilder = thingChannelBuilder; _messageHub = messageHub; }
public ThingSubSystem(IGatewayBuilder gatewayBuilder, IThingBuilder thingBuilder, IThingTemplateRepository thingTemplateRepository, IKernelRequestDispatcher requestDispatcher, IMessageHub messageHub) { _gatewayBuilder = gatewayBuilder; _thingBuilder = thingBuilder; _thingTemplateRepository = thingTemplateRepository; _requestDispatcher = requestDispatcher; _messageHub = messageHub; _gatewayInitializedHandlers = new ConcurrentDictionary <GatewayConfigurationPackage, IDisposable>(); }