Пример #1
0
 private string ResolveHostname(ISettings settings)
 {
     return(!settings.UseUri && !Ip.TryParse(settings.Uri, out var ipAddress) ? ipAddress.ToString() : settings.Uri);
 }