public PenguinProcessor(IPingConfiguration config, IPenguinRepository penguinRepoi, IPenguinResultsRepository resultsRepo, INotifierFactory notifierFactory, ITransformerFactory transformerfactory) { _httpClientPinger = new HttpClientPinger(config); _urlRepo = penguinRepoi; _resultsRepo = resultsRepo; _transformer = transformerfactory.CreateTransformer(); _notifier = notifierFactory.CreateNotifier(); }
public Pinger(IPingConfiguration config) { _httpClientPinger = new HttpClientPinger(config); }