public DisqusApiBase(IDisqusRequestProcessor requestProcessor, DisqusAuthMethod authMethod, string key) { if (string.IsNullOrWhiteSpace(key)) { throw new ArgumentNullException(nameof(key)); } RequestProcessor = requestProcessor ?? throw new ArgumentNullException(nameof(requestProcessor)); Auth = new DisqusAuth(authMethod, key); }
public DisqusApi(IDisqusRequestProcessor requestProcessor, DisqusAuthMethod authMethod, string key) { if (string.IsNullOrWhiteSpace(key)) { throw new ArgumentNullException(nameof(key)); } Applications = new DisqusApplicationsApi(requestProcessor, authMethod, key); Blacklists = new DisqusBlacklistsApi(requestProcessor, authMethod, key); Category = new DisqusCategoryApi(requestProcessor, authMethod, key); Exports = new DisqusExportsApi(requestProcessor, authMethod, key); ForumCategory = new DisqusForumCategoriesApi(requestProcessor, authMethod, key); Forums = new DisqusForumsApi(requestProcessor, authMethod, key); Imports = new DisqusImportsApi(requestProcessor, authMethod, key); Organizations = new DisqusOrganizationsApi(requestProcessor, authMethod, key); Posts = new DisqusPostsApi(requestProcessor, authMethod, key); Threads = new DisqusThreadsApi(requestProcessor, authMethod, key); Trends = new DisqusTrendsApi(requestProcessor, authMethod, key); TrustedDomains = new DisqusTrustedDomainsApi(requestProcessor, authMethod, key); Users = new DisqusUsersApi(requestProcessor, authMethod, key); Whitelists = new DisqusWhitelistsApi(requestProcessor, authMethod, key); }
public DisqusForumsApi(IDisqusRequestProcessor requestProcessor, DisqusAuthMethod authMethod, string key) : base(requestProcessor, authMethod, key) { }
public DisqusOrganizationsApi(IDisqusRequestProcessor requestProcessor, DisqusAuthMethod authMethod, string key) : base(requestProcessor, authMethod, key) { }
public DisqusTrustedDomainsApi(IDisqusRequestProcessor requestProcessor, DisqusAuthMethod authMethod, string key) : base(requestProcessor, authMethod, key) { }