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 SourceHttpContextVariationContextAccessor(IRequestCache)
Initializes a new instance of the HttpContextVariationContextAccessor class.
Declaration
public HttpContextVariationContextAccessor(IRequestCache requestCache)
Parameters
Type | Name | Description |
---|---|---|
IRequestCache | requestCache |
Properties
View SourceVariationContext
Gets or sets the current VariationContext.
Declaration
public VariationContext VariationContext { get; set; }
Property Value
Type | Description |
---|---|
VariationContext |