Show / Hide Table of Contents

    Class CacheableObjectResult<T, TOptions>

    Provides a base class for ICacheableObjectResult related operations.

    Inheritance
    System.Object
    Configurable<TOptions>
    CacheableObjectResult<T, TOptions>
    ContentBasedObjectResult<T>
    ContentTimeBasedObjectResult<T>
    TimeBasedObjectResult<T>
    Implements
    IConfigurable<TOptions>
    ICacheableObjectResult
    Inherited Members
    Configurable<TOptions>.Options
    Namespace: Cuemon.AspNetCore.Mvc.Filters.Cacheable
    Assembly: Cuemon.AspNetCore.Mvc.dll
    Syntax
    public abstract class CacheableObjectResult<T, TOptions> : Configurable<TOptions>, IConfigurable<TOptions>, ICacheableObjectResult where TOptions : class, new()
    Type Parameters
    Name Description
    T

    The type of the object to make cacheable.

    TOptions

    The type of the options to the cacheable object.

    Constructors

    | Improve this Doc

    CacheableObjectResult(T, Action<TOptions>)

    Initializes a new instance of the CacheableObjectResult<T, TOptions> class.

    Declaration
    protected CacheableObjectResult(T instance, Action<TOptions> setup)
    Parameters
    Type Name Description
    T instance

    The object to make cacheable.

    System.Action<TOptions> setup

    The System.Action<T> which need to be configured.

    Properties

    | Improve this Doc

    Value

    Gets or sets the value of the cacheable object.

    Declaration
    public object Value { get; set; }
    Property Value
    Type Description
    System.Object

    The value of the cacheable object.

    Implements

    IConfigurable<TOptions>
    ICacheableObjectResult

    Extension Methods

    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Byte[], Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, Byte[]>, Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Byte[], Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Byte[], Action<ContentTimeBasedOptions>)

    See Also

    Configurable<TOptions>
    ICacheableObjectResult
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX