CookiePolicyOptions.CheckConsentNeeded Property

Definition

Checks if consent policies should be evaluated on this request. The default is false.

public:
 property Func<Microsoft::AspNetCore::Http::HttpContext ^, bool> ^ CheckConsentNeeded { Func<Microsoft::AspNetCore::Http::HttpContext ^, bool> ^ get(); void set(Func<Microsoft::AspNetCore::Http::HttpContext ^, bool> ^ value); };
public Func<Microsoft.AspNetCore.Http.HttpContext,bool> CheckConsentNeeded { get; set; }
public Func<Microsoft.AspNetCore.Http.HttpContext,bool>? CheckConsentNeeded { get; set; }
member this.CheckConsentNeeded : Func<Microsoft.AspNetCore.Http.HttpContext, bool> with get, set
Public Property CheckConsentNeeded As Func(Of HttpContext, Boolean)

Property Value

Applies to