GetAppSettings

This commit is contained in:
2023-01-16 17:05:21 -07:00
parent a70ee6d7e5
commit 46c9d91dc9
7 changed files with 79 additions and 60 deletions

View File

@ -11,7 +11,7 @@ public class ClientSettingsRepository : IClientSettingsRepository
public ClientSettingsRepository(AppSettings appSettings) => _AppSettings = appSettings;
public List<string> GetClientSettings(IPAddress? remoteIpAddress)
internal List<string> GetClientSettings(IPAddress? remoteIpAddress)
{
List<string> results = new();
if (remoteIpAddress is null)
@ -25,7 +25,7 @@ public class ClientSettingsRepository : IClientSettingsRepository
List<string> IClientSettingsRepository.GetClientSettings(IPAddress? remoteIpAddress) => GetClientSettings(remoteIpAddress);
public string GetIpAddress(IPAddress? remoteIpAddress)
internal static string GetIpAddress(IPAddress? remoteIpAddress)
{
string result = remoteIpAddress is null ? string.Empty : remoteIpAddress.ToString();
return result;