ServiceStatus.cs 510 B

12345678910
  1. namespace WebTemplate.Status;
  2. /// <summary>
  3. /// Overall service status result.
  4. /// </summary>
  5. /// <param name="Status">The value "OK" if everything is OK. Otherwise this service will not actually return a 200
  6. /// HTTP result</param>
  7. /// <param name="Version">Detailed version information</param>
  8. /// <param name="Context">Collection of contextual information provided by different modules</param>
  9. public record ServiceStatus(string Status, IVersionInfo Version, Dictionary<string, object> Context);