예제 #1
0
 public MyWorker(
     MyLightWiringFactory factory,
     SwitchableFactory switchableFactory,
     ILogger <MyWorker> logger,
     MyLightBuilderFactory lightBuilder)
 {
     _switchers         = new Switchers();
     _lightBuilder      = lightBuilder;
     _switchableFactory = switchableFactory;
     _factory           = factory;
     _logger            = logger;
 }
예제 #2
0
 public MyLightBuilder(SwitchableFactory factory)
 {
     _factory = factory;
 }