Show / Hide Table of Contents

    Class ContentTimeBasedObjectResult<T>

    Provides a content and time based object result that is processed by both an HTTP ETag filter- and a Last-Modified filter implementation.

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

    The type of the object to make cacheable.

    Properties

    | Improve this Doc

    Checksum

    Gets a ChecksumResult that represents the integrity of this instance.

    Declaration
    public ChecksumResult Checksum { get; set; }
    Property Value
    Type Description
    ChecksumResult

    The checksum that represents the integrity of this instance.

    | 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; set; }
    Property Value
    Type Description
    System.DateTime

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

    | Improve this Doc

    HasChecksum

    Gets a value indicating whether this instance has a Checksum representation.

    Declaration
    public bool HasChecksum { get; }
    Property Value
    Type Description
    System.Boolean

    true if this instance has a Checksum representation; otherwise, false.

    | 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; set; }
    Property Value
    Type Description
    System.Nullable<System.DateTime>

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

    | Improve this Doc

    Validation

    Gets the validation strength of the integrity of this instance.

    Declaration
    public ChecksumStrength Validation { get; set; }
    Property Value
    Type Description
    ChecksumStrength

    The validation strength of the integrity of this instance.

    Implements

    IConfigurable<TOptions>
    ICacheableObjectResult
    ICacheableEntity
    ICacheableTimestamp
    ICacheableIntegrity

    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
    HttpEntityTagHeader
    HttpCacheableFilter
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX