Search Results for

    Show / Hide Table of Contents
    View Source

    Class CookieManagerExtensions

    Extension methods for ICookieManager.

    Inheritance
    object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Core.dll
    Syntax
    public static class CookieManagerExtensions

    Methods

    View Source

    GetPreviewCookieValue(ICookieManager)

    Gets the value of the preview cookie.

    Declaration
    public static string? GetPreviewCookieValue(this ICookieManager cookieManager)
    Parameters
    Type Name Description
    ICookieManager cookieManager

    The cookie manager.

    Returns
    Type Description
    string

    The preview cookie value if found; otherwise, null.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX