Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IPreviewService

    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IPreviewService

    Methods

    View Source

    EndPreviewAsync()

    Exits preview mode for a given user that calls this

    Declaration
    Task EndPreviewAsync()
    Returns
    Type Description
    Task
    View Source

    IsInPreview()

    Declaration
    bool IsInPreview()
    Returns
    Type Description
    bool
    View Source

    TryEnterPreviewAsync(IUser)

    Enters preview mode for a given user that calls this

    Declaration
    Task<bool> TryEnterPreviewAsync(IUser user)
    Parameters
    Type Name Description
    IUser user
    Returns
    Type Description
    Task<bool>
    View Source

    TryGetPreviewClaimsIdentityAsync()

    Declaration
    Task<Attempt<ClaimsIdentity>> TryGetPreviewClaimsIdentityAsync()
    Returns
    Type Description
    Task<Attempt<ClaimsIdentity>>
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX