Class CdnLinkTagHelper
- Namespace
- Cuemon.AspNetCore.Razor.TagHelpers
- Assembly
- Cuemon.AspNetCore.Razor.TagHelpers.dll
Provides an implementation targeting <link> elements that supports ICacheBusting versioning of a static resource placed on a location with a CDN role. This class cannot be inherited.
[HtmlTargetElement("cdn-link")]
public sealed class CdnLinkTagHelper : LinkTagHelper<CdnTagHelperOptions>, ITagHelper, ITagHelperComponent, IConfigurable<CdnTagHelperOptions>- Inheritance
- 
      
      
      
      
      CdnLinkTagHelper
- Implements
- Inherited Members
Constructors
CdnLinkTagHelper(IOptions<CdnTagHelperOptions>, ICacheBusting)
Initializes a new instance of the CdnLinkTagHelper class.
public CdnLinkTagHelper(IOptions<CdnTagHelperOptions> setup, ICacheBusting cacheBusting = null)Parameters
- setupIOptions<CdnTagHelperOptions>
- The CdnTagHelperOptions which need to be configured. 
- cacheBustingICacheBusting
- An optional object implementing the ICacheBusting interface. 
See Also
LinkTagHelper<TOptions>