public OutboundEndpointsHealthUseCaseRun(IOutboundEndpointsHealthCheckService service)
 {
     _service = service;
 }
 /// <summary>
 ///     Initializes a new instance of the <see cref="OutboundEndpointsHealthCheck" /> class.
 /// </summary>
 /// <param name="service">
 ///     The <see cref="IOutboundEndpointsHealthCheckService" /> implementation to be used to ping the
 ///     services.
 /// </param>
 public OutboundEndpointsHealthCheck(IOutboundEndpointsHealthCheckService service)
 {
     _service = service;
 }