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