Show / Hide Table of Contents

    Class DynamicCacheBusting

    Provides cache-busting capabilities on a duration based interval. This class cannot be inherited.

    Inheritance
    System.Object
    CacheBusting
    DynamicCacheBusting
    Implements
    ICacheBusting
    IConfigurable<DynamicCacheBustingOptions>
    Namespace: Cuemon.AspNetCore.Mvc.Configuration
    Assembly: Cuemon.AspNetCore.Mvc.dll
    Syntax
    public sealed class DynamicCacheBusting : CacheBusting, ICacheBusting, IConfigurable<DynamicCacheBustingOptions>

    Constructors

    | Improve this Doc

    DynamicCacheBusting(IOptions<DynamicCacheBustingOptions>)

    Initializes a new instance of the DynamicCacheBusting class.

    Declaration
    public DynamicCacheBusting(IOptions<DynamicCacheBustingOptions> setup)
    Parameters
    Type Name Description
    Microsoft.Extensions.Options.IOptions<DynamicCacheBustingOptions> setup

    The DynamicCacheBustingOptions which need to be configured.

    Properties

    | Improve this Doc

    Options

    Gets the configured options of this instance.

    Declaration
    public DynamicCacheBustingOptions Options { get; }
    Property Value
    Type Description
    DynamicCacheBustingOptions

    The configured options of this instance.

    | Improve this Doc

    UtcChanged

    Gets the UTC timestamp from when the Version was last changed.

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

    The UTC timestamp from when the Version was last changed.

    | Improve this Doc

    Version

    Gets the version to be a part of the link you need cache-busting compatible.

    Declaration
    public override string Version { get; }
    Property Value
    Type Description
    System.String

    The version to be a part of the link you need cache-busting compatible.

    Overrides
    CacheBusting.Version

    Implements

    ICacheBusting
    IConfigurable<TOptions>

    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

    CacheBusting
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX