Ejemplo n.º 1
0
        public PingerSettingsTests()
        {
            NinjectModule registrations = new NinjectRegistrations();
            var           kernel        = new StandardKernel(registrations);

            _pingerSettings = kernel.Get <IPingerSettings>();
        }
Ejemplo n.º 2
0
 public PingChecker(IPingerSettings pingerSettings,
                    IPingerHttp pingerHttp,
                    IPingerIcmp pingerIcmp,
                    IPingerTcp pingerTcp,
                    IPingLogWriter pingLogWriter)
 {
     _pingerSettings = pingerSettings;
     _pingerHttp     = pingerHttp;
     _pingerIcmp     = pingerIcmp;
     _pingerTcp      = pingerTcp;
     _pingLogWriter  = pingLogWriter;
 }