private void SetUpIoC() { _networkClient = new NetworkClient(); _nachrichtenDispo = new NachrichtenDispo(_networkClient); _basicClient = new BasicClient(NachrichtenDispo); }
public BasicClient(INachrichtenDispo dispo) { _dispo = dispo; _dispo.IncomingEvents.Subscribe(RaiseEventReceived); }