Table of Contents

LinkTagHelper<TOptions> Class

Definition

Namespace
Cuemon.AspNetCore.Razor.TagHelpers
Assemblies
Cuemon.AspNetCore.Razor.TagHelpers.dll
Source
src/Cuemon.AspNetCore.Razor.TagHelpers/LinkTagHelper.cs

Provides a base-class for targeting <link> elements that supports ICacheBusting versioning.

public abstract class LinkTagHelper<TOptions> : CacheBustingTagHelper<TOptions>, ITagHelper, ITagHelperComponent, IConfigurable<TOptions> where TOptions : TagHelperOptions, new()

Type Parameters

TOptions
Inheritance
LinkTagHelper<TOptions>
Implements
IConfigurable<TOptions>
Derived
Inherited Members

Constructors

Name Description
LinkTagHelper(IOptions<TOptions>, ICacheBusting)

Initializes a new instance of the LinkTagHelper<TOptions> class.

Properties

Name Description
Href

Gets or sets the location of the link.

Rel

Gets or sets the relation of the link.

Type

Gets or sets the type of the link.

Methods

Name Description
ProcessAsync(TagHelperContext, TagHelperOutput)

Asynchronously executes the TagHelper with the given context and output.

See Also