Exemplo n.º 1
0
 public Starting(Transition.IFactory transitionFactory, Device.IFactory deviceFactory, Messaging.Facade.IFactory messagingFacadeFactory, IEnumerable <string> devices)
 {
     _transitionFactory      = transitionFactory;
     _deviceFactory          = deviceFactory;
     _messagingFacadeFactory = messagingFacadeFactory;
     _devices = (devices ?? Enumerable.Empty <string>()).ToArray();
 }
Exemplo n.º 2
0
 public Factory(Device.IFactory deviceFactory, Transition.IFactory transitionFactory, Messaging.Facade.IFactory messagingFacadeFactory, ILogic logic, IOptions <Config> config)
 {
     _deviceFactory          = deviceFactory;
     _messagingFacadeFactory = messagingFacadeFactory;
     _transitionFactory      = transitionFactory;
     _logic  = logic;
     _config = config;
 }