コード例 #1
0
        private void CloseAndAcceptCookies()
        {
            if (!visible)
            {
                return;
            }

            visible = false;
            CookieService.AcceptDisclaimer();
            JSRuntime.InvokeVoidAsync(
                "cookies.acceptMessage",
                cookieString);

            InvokeAsync(StateHasChanged);
        }