GetAppSettings
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user