Class HybridAccessorBase<T>
Provides a base class for hybrid accessors.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core
Assembly: Umbraco.Core.dll
Syntax
public abstract class HybridAccessorBase<T>
where T : class
Type Parameters
Name | Description |
---|---|
T | The type of the accessed object. |
Remarks
Hybrid accessors store the accessed object in HttpContext if they can, otherwise they rely on the logical call context, to maintain an ambient object that flows with async.
Constructors
View SourceHybridAccessorBase(IRequestCache)
Declaration
protected HybridAccessorBase(IRequestCache requestCache)
Parameters
Type | Name | Description |
---|---|---|
IRequestCache | requestCache |
Properties
View SourceItemKey
Declaration
protected string ItemKey { get; }
Property Value
Type | Description |
---|---|
System.String |
Value
Declaration
protected T Value { get; set; }
Property Value
Type | Description |
---|---|
T |