Пример #1
0
 private void SetUpIoC()
 {
     _networkClient = new NetworkClient();
     _nachrichtenDispo = new NachrichtenDispo(_networkClient);
     _basicClient = new BasicClient(NachrichtenDispo);
 }
Пример #2
0
 public BasicClient(INachrichtenDispo dispo)
 {
     _dispo = dispo;
     _dispo.IncomingEvents.Subscribe(RaiseEventReceived);
 }