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

    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<System.Boolean>
    View Source

    TryGetPreviewClaimsIdentityAsync()

    Declaration
    Task<Attempt<ClaimsIdentity>> TryGetPreviewClaimsIdentityAsync()
    Returns
    Type Description
    Task<Attempt<System.Security.Claims.ClaimsIdentity>>
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • EndPreviewAsync()
      • TryEnterPreviewAsync(IUser)
      • TryGetPreviewClaimsIdentityAsync()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX