Show / Hide Table of Contents

    Class TimeBasedObjectResult<T>

    Provides a time based object result that is processed by a Last-Modified filter implementation.

    Inheritance
    System.Object
    Configurable<TimeBasedOptions>
    CacheableObjectResult<T, TimeBasedOptions>
    TimeBasedObjectResult<T>
    Implements
    IConfigurable<TimeBasedOptions>
    ICacheableObjectResult
    ICacheableTimestamp
    Inherited Members
    CacheableObjectResult<T, TimeBasedOptions>.Value
    Configurable<TimeBasedOptions>.Options
    Namespace: Cuemon.AspNetCore.Mvc.Filters.Cacheable
    Assembly: Cuemon.AspNetCore.Mvc.dll
    Syntax
    public class TimeBasedObjectResult<T> : CacheableObjectResult<T, TimeBasedOptions>, IConfigurable<TimeBasedOptions>, ICacheableObjectResult, ICacheableTimestamp
    Type Parameters
    Name Description
    T

    The type of the object to make cacheable.

    Properties

    | Improve this Doc

    Created

    Gets a System.DateTime value from when data this instance represents was first created, expressed as the Coordinated Universal Time (UTC).

    Declaration
    public DateTime Created { get; }
    Property Value
    Type Description
    System.DateTime

    The timestamp from when data this instance represents was first created.

    | Improve this Doc

    Modified

    Gets a System.DateTime value from when data this instance represents was last modified, expressed as the Coordinated Universal Time (UTC).

    Declaration
    public DateTime? Modified { get; }
    Property Value
    Type Description
    System.Nullable<System.DateTime>

    The timestamp from when data this instance represents was last modified.

    Implements

    IConfigurable<TOptions>
    ICacheableObjectResult
    ICacheableTimestamp

    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

    CacheableObjectResult<T, TOptions>
    ICacheableIntegrity
    HttpLastModifiedHeader
    HttpCacheableFilter
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX