Search Results for

    Show / Hide Table of Contents
    View Source

    Class ConsentExtensions

    Provides extension methods for the IConsent interface.

    Inheritance
    System.Object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Core.dll
    Syntax
    public static class ConsentExtensions

    Methods

    View Source

    IsGranted(IConsent)

    Determines whether the consent is granted.

    Declaration
    public static bool IsGranted(this IConsent consent)
    Parameters
    Type Name Description
    IConsent consent
    Returns
    Type Description
    System.Boolean
    View Source

    IsRevoked(IConsent)

    Determines whether the consent is revoked.

    Declaration
    public static bool IsRevoked(this IConsent consent)
    Parameters
    Type Name Description
    IConsent consent
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • IsGranted(IConsent)
      • IsRevoked(IConsent)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX