internal static void SetBackendService(this EndpointsConfig self, IBackendService backendService) { foreach (var(_, endpointUrl) in self) { endpointUrl.SetBackendService(backendService); } }
public static Uri GetUri(this EndpointsConfig self, string path) => new Uri($"{self.Host}{self.BasePath}{path}");