コード例 #1
0
        public static void RegisterTests(HealthCheckService svc)
        {
            svc.Add(new NotDebugTest(1));
            svc.Add(new DbConnectionTest(2));
			svc.Add(new SmtpTest(3));
            svc.Setup<Hubs.HealthCheckHub>();
            svc.Trace();
        }
コード例 #2
0
 public static void RegisterTests(HealthCheckService svc)
 {
     svc.Add(new NotDebugTest(0));
     svc.Add(new DbConnectionTest(1));
     svc.Setup<SSW.HealthCheck.MVC4.Examples.Hubs.HealthCheckHub>();
 }