Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    HybridAccessorBase(IRequestCache)

    Declaration
    protected HybridAccessorBase(IRequestCache requestCache)
    Parameters
    Type Name Description
    IRequestCache requestCache

    Properties

    View Source

    ItemKey

    Declaration
    protected string ItemKey { get; }
    Property Value
    Type Description
    System.String
    View Source

    Value

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