Search Results for

    Show / Hide Table of Contents
    View Source

    Class UmbracoContext

    Class that encapsulates Umbraco information of a specific HTTP request

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Web.Common.UmbracoContext
    Assembly: Umbraco.Web.Common.dll
    Syntax
    public class UmbracoContext : DisposableObjectSlim

    Properties

    View Source

    CleanedUmbracoUrl

    Declaration
    public Uri CleanedUmbracoUrl { get; }
    Property Value
    Type Description
    Uri
    View Source

    Content

    Declaration
    public IPublishedContentCache Content { get; }
    Property Value
    Type Description
    IPublishedContentCache
    View Source

    Domains

    Declaration
    public IDomainCache Domains { get; }
    Property Value
    Type Description
    IDomainCache
    View Source

    InPreviewMode

    Declaration
    public bool InPreviewMode { get; }
    Property Value
    Type Description
    System.Boolean
    View Source

    IsDebug

    Declaration
    public bool IsDebug { get; }
    Property Value
    Type Description
    System.Boolean
    View Source

    Media

    Declaration
    public IPublishedMediaCache Media { get; }
    Property Value
    Type Description
    IPublishedMediaCache
    View Source

    ObjectCreated

    Declaration
    public DateTime ObjectCreated { get; }
    Property Value
    Type Description
    DateTime
    View Source

    OriginalRequestUrl

    Declaration
    public Uri OriginalRequestUrl { get; }
    Property Value
    Type Description
    Uri
    View Source

    PublishedRequest

    Declaration
    public IPublishedRequest? PublishedRequest { get; set; }
    Property Value
    Type Description
    System.Nullable<IPublishedRequest>

    Methods

    View Source

    DisposeResources()

    Declaration
    protected override void DisposeResources()
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • CleanedUmbracoUrl
      • Content
      • Domains
      • InPreviewMode
      • IsDebug
      • Media
      • ObjectCreated
      • OriginalRequestUrl
      • PublishedRequest
    • Methods
      • DisposeResources()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX