Class CacheBustingTagHelper<TOptions>
- Namespace
- Cuemon.AspNetCore.Razor.TagHelpers
- Assembly
- Cuemon.AspNetCore.Razor.TagHelpers.dll
Provides a base-class for static content related Microsoft.AspNetCore.Razor.TagHelpers.TagHelper implementation in Razor for ASP.NET Core.
public abstract class CacheBustingTagHelper<TOptions> : TagHelper, ITagHelper, ITagHelperComponent, IConfigurable<TOptions> where TOptions : TagHelperOptions, new()
Type Parameters
TOptions
- Inheritance
-
TagHelperCacheBustingTagHelper<TOptions>
- Implements
-
ITagHelperITagHelperComponentIConfigurable<TOptions>
- Derived
- Inherited Members
-
TagHelper.Init(TagHelperContext)TagHelper.Process(TagHelperContext, TagHelperOutput)TagHelper.ProcessAsync(TagHelperContext, TagHelperOutput)TagHelper.Order
Constructors
CacheBustingTagHelper(IOptions<TOptions>, ICacheBusting)
Initializes a new instance of the CacheBustingTagHelper<TOptions> class.
protected CacheBustingTagHelper(IOptions<TOptions> setup, ICacheBusting cacheBusting = null)
Parameters
setup
IOptions<TOptions>The
TOptions
which need to be configured.cacheBusting
ICacheBustingAn optional object implementing the ICacheBusting interface.
Properties
CacheBusting
Gets the by constructor optional supplied object implementing the ICacheBusting interface.
protected ICacheBusting CacheBusting { get; }
Property Value
- ICacheBusting
The by constructor optional supplied object implementing the ICacheBusting interface.
Options
Gets the configured options of this instance.
public TOptions Options { get; }
Property Value
- TOptions
The configured options of this instance.
UseCacheBusting
Gets a value indicating whether an object implementing the ICacheBusting interface is specified.
protected bool UseCacheBusting { get; }
Property Value
- Boolean
true
if an object implementing the ICacheBusting interface is specified; otherwise,false
.