예제 #1
0
        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();
        }
예제 #2
0
 public Pinger(IPingConfiguration config)
 {
     _httpClientPinger = new HttpClientPinger(config);
 }