public SystemHelperBase(ExternalAPI_URLService externalAPI_URLService) { this.moduleSystemConfig = externalAPI_URLService.SetModuleSystemConfig(); this.specSystemConfig = externalAPI_URLService.SetSpecSystemConfig(); this.mediaSystemConfig = externalAPI_URLService.SetMediaSystemConfig(); this.productSystemConfig = externalAPI_URLService.SetProductSystemConfig(); this.whereToBuySystemConfig = externalAPI_URLService.SetWhereToBuySystemConfig(); this.awardSystemConfig = externalAPI_URLService.SetAwardSystemConfig(); this.rogSpecFiltersAPIConfig = externalAPI_URLService.SetRogSpecFiltersAPIConfig(); ModulesSystem_apiid = moduleSystemConfig.apiid; ModulesSystem_apikey = moduleSystemConfig.apikey; Modules_GetPageURL = moduleSystemConfig.GetPageURL; SpecSystem_apiid = specSystemConfig.apiid; SpecSystem_apikey = specSystemConfig.apikey; GetSpecURL_URL = specSystemConfig.GetSpecURL; MediaSystem_apiid = mediaSystemConfig.Media_ApiId; MediaSystem_apikey = mediaSystemConfig.Media_ApiKey; IMAGE_URL = mediaSystemConfig.MediaDNS; ProductSystem_apiid = productSystemConfig.apiid; ProductSystem_apikey = productSystemConfig.apikey; Product_GettagInfo_Url = productSystemConfig.GettagInfo_Url; WhereToBuySystem_apiid = whereToBuySystemConfig.apiid; WhereToBuySystem_apikey = whereToBuySystemConfig.apikey; WTB_Host = whereToBuySystemConfig.WTB_Host; Get_WTB_Url = whereToBuySystemConfig.Get_WTB_Url; AwardSystem_apiid = awardSystemConfig.apiid; AwardSystem_apikey = awardSystemConfig.apikey; Award_Host = awardSystemConfig.Award_Host; GetAwardList_Url = awardSystemConfig.GetAwardList_Url; RogSpecFiltersApi_apiid = rogSpecFiltersAPIConfig.apiid; RogSpecFiltersApi_apikey = rogSpecFiltersAPIConfig.apikey; RogSpecFiltersApi_Url = rogSpecFiltersAPIConfig.SpecFilterAPI_Url; }
public ApiTokenFilterAttribute(ExternalAPI_URLService externalAPI_URLService, IMemoryCache _memoryCache) { tokenConfig = externalAPI_URLService.SetTokenSystemConfig(); memoryCache = _memoryCache; }
public MiddleSystemHelper(ExternalAPI_URLService externalAPI_URLService, LogService _LogService) : base(externalAPI_URLService) { oLogService = _LogService; ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; }