public PingInvocable(
     IPingConfiguration pingConfiguration,
     ILogger <PingInvocable> logger
     )
 {
     _pingConfiguration = pingConfiguration;
     _logger            = logger;
 }
Example #2
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();
        }
Example #3
0
 public HttpClientPinger(IPingConfiguration pingConfiguration)
 {
     _pingConfiguration = pingConfiguration;
 }
Example #4
0
 public Pinger(IPingConfiguration config)
 {
     _httpClientPinger = new HttpClientPinger(config);
 }