Exemplo n.º 1
0
        public CookieConsentService(ILogger <CookieConsentService> logger)
        {
#if MSCC
            _cookieConsentClient = CookieConsentClientFactory.Create(_domainName, logger);
            _ipAddressResolver   = IPAddressResolverFactory.Create(_domainName, logger);

            RefreshCookieConsentSettings();
#endif
        }
 public CookieConsentService(ILogger <CookieConsentService> logger)
 {
     _logger = logger;
     _cookieConsentClient = CookieConsentClientFactory.Create(_domainName, logger);
     _ipAddressResolver   = IPAddressResolverFactory.Create(_domainName, logger);
 }