Пример #1
0
 public static bool MatchHost(this RaciEndpoint ep, string host) =>
 keyUtil.Equals(Hostname(ep), GetHostname(host));
Пример #2
0
 public static bool MatchUrl(this RaciEndpoint ep, string url) =>
 keyUtil.Equals(GetUrl(ep.ServiceRoot), GetUrl(url));
Пример #3
0
 public static string Hostname(this RaciEndpoint ep) => Uri(ep)?.DnsSafeHost;
Пример #4
0
 public static string Url(this RaciEndpoint ep) => GetUri(ep?.ServiceRoot).AbsoluteUri;
Пример #5
0
 public static Uri Uri(this RaciEndpoint ep) => GetUri(ep?.ServiceRoot);