public ConsentMiddleware(AppFunc next, IFileShim fileShim, ConsentSettings settings, Func <IOwinRequest, string> cultureCallback) { _next = next; _settings = settings; _cultureCallback = cultureCallback; _cachedHtmlContent = fileShim.ReadAllText(settings.HtmlFileLocation); }
static AspnetCookieConsent() { Settings = new ConsentSettings(); }