Search Results for

    Show / Hide Table of Contents
    View Source

    Class NoopRequestPreviewService

    A no-operation implementation of IRequestPreviewService that always returns false for preview mode.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.DeliveryApi
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class NoopRequestPreviewService : IRequestPreviewService

    Constructors

    View Source

    NoopRequestPreviewService()

    Declaration
    public NoopRequestPreviewService()

    Methods

    View Source

    IsPreview()

    Retrieves information on whether or not to output draft content for preview.

    Declaration
    public bool IsPreview()
    Returns
    Type Description
    bool
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX