コード例 #1
0
 public static IHealthChecksBuilder AddDateTimeHealthCheck(this IHealthChecksBuilder builder, double toleratesec = 10, string name = "Date and time health check")
 {
     return(builder.AddDateTimeHealthCheck("time.windows.com", toleratesec, name));
 }
コード例 #2
0
 public static IHealthChecksBuilder AddDateTimeHealthCheck(this IHealthChecksBuilder builder)
 {
     return(builder.AddDateTimeHealthCheck("time.windows.com", 1, "Date and time health by time.windows.com"));
 }