This commit is contained in:
2023-10-31 22:34:12 -07:00
parent f684c4b7ef
commit 631b24ff0d
53 changed files with 2734 additions and 643 deletions

View File

@ -23,14 +23,14 @@ public class ClientSettingsRepository : IClientSettingsRepository
return results;
}
List<string> IClientSettingsRepository.GetClientSettings(IPAddress? remoteIpAddress) => GetClientSettings(remoteIpAddress);
internal static string GetIpAddress(IPAddress? remoteIpAddress)
{
string result = remoteIpAddress is null ? string.Empty : remoteIpAddress.ToString();
return result;
}
List<string> IClientSettingsRepository.GetClientSettings(IPAddress? remoteIpAddress) => GetClientSettings(remoteIpAddress);
string IClientSettingsRepository.GetIpAddress(IPAddress? remoteIpAddress) => GetIpAddress(remoteIpAddress);
}