Show / Hide Table of Contents

    Class ContentTimeBasedOptions

    Specifies options that is related to the ContentTimeBasedObjectResult<T>.

    Inheritance
    System.Object
    ContentTimeBasedOptions
    Namespace: Cuemon.AspNetCore.Mvc.Filters.Cacheable
    Assembly: Cuemon.AspNetCore.Mvc.dll
    Syntax
    public class ContentTimeBasedOptions

    Constructors

    | Improve this Doc

    ContentTimeBasedOptions()

    Initializes a new instance of the ContentTimeBasedOptions class.

    Declaration
    public ContentTimeBasedOptions()

    Properties

    | Improve this Doc

    IsWeak

    Gets or sets a value indicating whether this instance has a weak validation.

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

    true if this instance has a weak validation; otherwise, false.

    | Improve this Doc

    Modified

    Gets or sets the modified date-time value of an object.

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

    The modified date-time value of an object.

    Methods

    | Improve this Doc

    GetValidation(Byte[])

    Gets the strength of the checksum validation.

    Declaration
    public ChecksumStrength GetValidation(byte[] checksum)
    Parameters
    Type Name Description
    System.Byte[] checksum

    The checksum to determine the strength of.

    Returns
    Type Description
    ChecksumStrength

    One of the ChecksumStrength values.

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