public static Uri GetUrl(this IUrlProvider urlProvider) { _ = urlProvider ?? throw new ArgumentNullException(nameof(urlProvider)); return(urlProvider.GetUrlBuilder().Uri); }