public override CheckResult PerformCheck()
 {
     if (SomeService.GetStatus())
     {
         return(CheckResult.Pass);
     }
     return(CheckResult.Failed("Some service is not available."));
 }
 public MyCustomCheck()
     : base("SomeId-StartUp", "SomeCategory")
 {
     if (SomeService.GetStatus())
     {
         ReportPass();
     }
     else
     {
         ReportFailed("Some service is not available.");
     }
 }