LinkTagHelper<TOptions> Class
Definition
- Namespace
- Cuemon.AspNetCore.Razor.TagHelpers
- Assemblies
- Cuemon.AspNetCore.Razor.TagHelpers.dll
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
-
CacheBustingTagHelper<TOptions>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 |
See Also
CacheBustingTagHelper<TOptions>