Show / Hide Table of Contents

    Class ContentBasedOptions

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

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

    Constructors

    | Improve this Doc

    ContentBasedOptions()

    Initializes a new instance of the ContentBasedOptions class.

    Declaration
    public ContentBasedOptions()
    Remarks

    The following table shows the initial property values for an instance of ContentBasedOptions.

    PropertyInitial Value
    IsWeakfalse

    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.

    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