Table of Contents

Class AppLinkTagHelper

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 outside (but tied to) your application. This class cannot be inherited.

[HtmlTargetElement("app-link")]
public sealed class AppLinkTagHelper : LinkTagHelper<AppTagHelperOptions>, ITagHelper, ITagHelperComponent, IConfigurable<AppTagHelperOptions>
Inheritance
Object
TagHelper
AppLinkTagHelper
Implements
ITagHelper
ITagHelperComponent
Inherited Members
TagHelper.Init(TagHelperContext)
TagHelper.Process(TagHelperContext, TagHelperOutput)
TagHelper.Order

Constructors

AppLinkTagHelper(IOptions<AppTagHelperOptions>, ICacheBusting)

Initializes a new instance of the AppLinkTagHelper class.

public AppLinkTagHelper(IOptions<AppTagHelperOptions> setup, ICacheBusting cacheBusting = null)

Parameters

setup IOptions<AppTagHelperOptions>

The AppTagHelperOptions which need to be configured.

cacheBusting ICacheBusting

An optional object implementing the ICacheBusting interface.

See Also

LinkTagHelper<TOptions>