diff --git a/src/CiT.CLI/Commands/DomainBlocks.cs b/src/CiT.CLI/Commands/DomainBlocks.cs index f9cd11a..ebe9820 100644 --- a/src/CiT.CLI/Commands/DomainBlocks.cs +++ b/src/CiT.CLI/Commands/DomainBlocks.cs @@ -15,6 +15,7 @@ public class DomainBlocks /// Constructs a DomainBlocks object. /// /// The ConfigManager. + /// The HttpClient. public DomainBlocks(IConfigManager configManager, HttpClient client) { _apiClient = new DomainBlocksApi(configManager, client); diff --git a/src/CiT.CLI/Commands/Domains.cs b/src/CiT.CLI/Commands/Domains.cs index 8983c76..db696ea 100644 --- a/src/CiT.CLI/Commands/Domains.cs +++ b/src/CiT.CLI/Commands/Domains.cs @@ -15,6 +15,7 @@ public class Domains /// Constructs a Domains object. /// /// The ConfigManager. + /// The HttpClient. public Domains(IConfigManager configManager, HttpClient client) { _apiClient = new MeasuresApi(configManager, client); diff --git a/src/CiT.CLI/Commands/EmailDomainBlocks.cs b/src/CiT.CLI/Commands/EmailDomainBlocks.cs index a8d4593..e806b60 100644 --- a/src/CiT.CLI/Commands/EmailDomainBlocks.cs +++ b/src/CiT.CLI/Commands/EmailDomainBlocks.cs @@ -15,6 +15,7 @@ public class EmailDomainBlocks /// Constructs an EmailDomainBlocks object. /// /// The ConfigManager. + /// The HttpClient. public EmailDomainBlocks(IConfigManager configManager, HttpClient client) { _apiClient = new EmailDomainBlocksApi(configManager, client); diff --git a/src/CiT.CLI/Commands/IpAddressBlocks.cs b/src/CiT.CLI/Commands/IpAddressBlocks.cs index 621380d..aa7e195 100644 --- a/src/CiT.CLI/Commands/IpAddressBlocks.cs +++ b/src/CiT.CLI/Commands/IpAddressBlocks.cs @@ -16,6 +16,7 @@ public class IpAddressBlocks /// Constructs an IpAddressBlocks object. /// /// The ConfigManager. + /// The HttpClient. public IpAddressBlocks(IConfigManager configManager, HttpClient client) { _apiClient = new IpAddressBlocksApi(configManager, client); diff --git a/src/CiT.Core/Configuration/ConfigManager.cs b/src/CiT.Core/Configuration/ConfigManager.cs index b56f8b8..692f81c 100644 --- a/src/CiT.Core/Configuration/ConfigManager.cs +++ b/src/CiT.Core/Configuration/ConfigManager.cs @@ -32,7 +32,6 @@ public class ConfigManager : IConfigManager /// Constructs a ConfigManager with all Configuration objects. /// /// The main program Configuration - /// The instance configuration. /// Thrown if any of the provided configurations objects are invalid. public ConfigManager( IConfiguration configuration) diff --git a/src/CiT.Core/Mastodon/ApiClient.cs b/src/CiT.Core/Mastodon/ApiClient.cs index 1156331..77d6143 100644 --- a/src/CiT.Core/Mastodon/ApiClient.cs +++ b/src/CiT.Core/Mastodon/ApiClient.cs @@ -12,7 +12,8 @@ public abstract class ApiClient /// /// ApiClient constructor to initialize the Authorization, Accept, and User-Agent headers. /// - /// + /// The config manager. + /// The HttpClient. protected ApiClient(IConfigManager configManager, HttpClient client) { client.DefaultRequestHeaders.Authorization = diff --git a/src/CiT.Core/Mastodon/DomainBlocksApi.cs b/src/CiT.Core/Mastodon/DomainBlocksApi.cs index dcf331d..8ac2a94 100644 --- a/src/CiT.Core/Mastodon/DomainBlocksApi.cs +++ b/src/CiT.Core/Mastodon/DomainBlocksApi.cs @@ -10,6 +10,7 @@ public class DomainBlocksApi : ApiClient /// Constructs a DomainBlocksApi object using the ConfigManager to set the API URL. /// /// The ConfigManager. + /// The HttpClient. public DomainBlocksApi(IConfigManager configManager, HttpClient client) : base(configManager, client) { _domainBlocksApiUrl = $"{configManager.Instance.Url}/api/v1/admin/domain_blocks"; diff --git a/src/CiT.Core/Mastodon/EmailDomainBlocksApi.cs b/src/CiT.Core/Mastodon/EmailDomainBlocksApi.cs index 2a60b18..0c6015d 100644 --- a/src/CiT.Core/Mastodon/EmailDomainBlocksApi.cs +++ b/src/CiT.Core/Mastodon/EmailDomainBlocksApi.cs @@ -10,6 +10,7 @@ public class EmailDomainBlocksApi : ApiClient /// Constructs an EmailDomainBlocksApi object using the ConfigManager to set the API URL. /// /// The ConfigManager. + /// The HttpClient. public EmailDomainBlocksApi(IConfigManager configManager, HttpClient client) : base(configManager, client) { _emailDomainBlocksApiUrl = $"{configManager.Instance.Url}/api/v1/admin/email_domain_blocks"; diff --git a/src/CiT.Core/Mastodon/IpAddressBlocksApi.cs b/src/CiT.Core/Mastodon/IpAddressBlocksApi.cs index 215f52c..9780371 100644 --- a/src/CiT.Core/Mastodon/IpAddressBlocksApi.cs +++ b/src/CiT.Core/Mastodon/IpAddressBlocksApi.cs @@ -10,6 +10,7 @@ public class IpAddressBlocksApi : ApiClient /// Constructs an IpAddressBlocksApi object using the ConfigManager to set the API URL. /// /// The ConfigManager. + /// The HttpClient. public IpAddressBlocksApi(IConfigManager configManager, HttpClient client) : base(configManager, client) { _ipAddressBlocksApiUrl = $"{configManager.Instance.Url}/api/v1/admin/ip_blocks"; diff --git a/src/CiT.Core/Mastodon/MeasuresApi.cs b/src/CiT.Core/Mastodon/MeasuresApi.cs index 732183b..c698395 100644 --- a/src/CiT.Core/Mastodon/MeasuresApi.cs +++ b/src/CiT.Core/Mastodon/MeasuresApi.cs @@ -12,6 +12,7 @@ public class MeasuresApi : ApiClient /// Constructs a MeasuresApi object using the ConfigManager to set the API URL. /// /// The ConfigManager. + /// The HttpClient. public MeasuresApi(IConfigManager configManager, HttpClient client) : base(configManager, client) { _measuresApiUrl = $"{configManager.Instance.Url}/api/v1/admin/measures";