Exemple #1
0
 public ServerCaller(FakeCoffeMachine fakeCoffeMachine)
 {
     _appconfig        = (AppConfig)AppDomain.CurrentDomain.UnityContainer().Resolve <AbstractAppConfig>();
     _serverApiUrl     = _appconfig.ServerApiUrl;
     _fakeCoffeMachine = fakeCoffeMachine;
     _ardRequestFac    = new ArduinoRequestFactory(fakeCoffeMachine);
 }
Exemple #2
0
 public ArduinoRequestFactory(FakeCoffeMachine fakeCoffeMachine)
 {
     _fakeCoffeMachine = fakeCoffeMachine;
 }