Class HybridPropertyRenderingContextAccessor
Implements a hybrid IPropertyRenderingContextAccessor.
Namespace: Umbraco.Cms.Core.Models.PublishedContent
Assembly: Umbraco.Core.dll
Syntax
public class HybridPropertyRenderingContextAccessor : HybridAccessorBase<PropertyRenderingContext>, IPropertyRenderingContextAccessor
Constructors
View SourceHybridPropertyRenderingContextAccessor(IRequestCache)
Initializes a new instance of the HybridPropertyRenderingContextAccessor class.
Declaration
public HybridPropertyRenderingContextAccessor(IRequestCache requestCache)
Parameters
| Type | Name | Description |
|---|---|---|
| IRequestCache | requestCache | The request cache. |
Properties
View SourcePropertyRenderingContext
Gets or sets the current PropertyRenderingContext.
Declaration
public PropertyRenderingContext? PropertyRenderingContext { get; set; }
Property Value
| Type | Description |
|---|---|
| PropertyRenderingContext |