Ejemplo n.º 1
0
 public static ServiceManager AddTtlHealthCheck(this ServiceManager serviceManager, int timetoLiveInSeconds)
 {
     serviceManager.TtlCheck = new TtlCheck(serviceManager, timetoLiveInSeconds);
     return(serviceManager);
 }
Ejemplo n.º 2
0
 public static ServiceManager AddApiUrl(this ServiceManager serviceManager, string urlToAdd)
 {
     serviceManager.SupportedUrls.Add(urlToAdd);
     return(serviceManager);
 }