Ejemplo n.º 1
0
        public PingerIcmpTests()
        {
            NinjectModule registrations = new NinjectRegistrations();

            _kernel = new StandardKernel(registrations);

            _pingerIcmp = _kernel.Get <IPingerIcmp>();
        }
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;
 }