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