Search Results for

    Show / Hide Table of Contents
    View Source

    Class PreviewRoutes

    Creates routes for the preview hub

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Web.BackOffice.Routing
    Assembly: Umbraco.Web.BackOffice.dll
    Syntax
    public sealed class PreviewRoutes : IAreaRoutes

    Constructors

    View Source

    PreviewRoutes(IOptions<GlobalSettings>, IHostingEnvironment, IRuntimeState)

    Declaration
    public PreviewRoutes(IOptions<GlobalSettings> globalSettings, IHostingEnvironment hostingEnvironment, IRuntimeState runtimeState)
    Parameters
    Type Name Description
    Microsoft.Extensions.Options.IOptions<GlobalSettings> globalSettings
    IHostingEnvironment hostingEnvironment
    IRuntimeState runtimeState

    Methods

    View Source

    CreateRoutes(IEndpointRouteBuilder)

    Declaration
    public void CreateRoutes(IEndpointRouteBuilder endpoints)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints
    View Source

    GetPreviewHubRoute()

    Returns the path to the signalR hub used for preview

    Declaration
    public string GetPreviewHubRoute()
    Returns
    Type Description
    System.String

    Path to signalR hub

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • PreviewRoutes(IOptions<GlobalSettings>, IHostingEnvironment, IRuntimeState)
    • Methods
      • CreateRoutes(IEndpointRouteBuilder)
      • GetPreviewHubRoute()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX