Search Results for

    Show / Hide Table of Contents
    View Source

    Class HttpContextVariationContextAccessor

    Implements IVariationContextAccessor on top of IRequestCache.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models.PublishedContent
    Assembly: Umbraco.Core.dll
    Syntax
    public class HttpContextVariationContextAccessor : IVariationContextAccessor

    Constructors

    View Source

    HttpContextVariationContextAccessor(IRequestCache)

    Initializes a new instance of the HttpContextVariationContextAccessor class.

    Declaration
    public HttpContextVariationContextAccessor(IRequestCache requestCache)
    Parameters
    Type Name Description
    IRequestCache requestCache

    Properties

    View Source

    VariationContext

    Gets or sets the current VariationContext.

    Declaration
    public VariationContext VariationContext { get; set; }
    Property Value
    Type Description
    VariationContext
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • HttpContextVariationContextAccessor(IRequestCache)
    • Properties
      • VariationContext
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX