ImageTagHelper<TOptions> Class
Definition
- Namespace
- Cuemon.AspNetCore.Razor.TagHelpers
- Assemblies
- Cuemon.AspNetCore.Razor.TagHelpers.dll
Provides a base-class for targeting <img> elements that supports ICacheBusting versioning.
public abstract class ImageTagHelper<TOptions> : CacheBustingTagHelper<TOptions>, ITagHelper, ITagHelperComponent, IConfigurable<TOptions> where TOptions : TagHelperOptions, new()
Type Parameters
TOptions
- Inheritance
-
CacheBustingTagHelper<TOptions>ImageTagHelper<TOptions>
- Implements
-
IConfigurable<TOptions>
- Derived
- Inherited Members
Constructors
| Name | Description |
|---|---|
| ImageTagHelper(IOptions<TOptions>, ICacheBusting) | Initializes a new instance of the ImageTagHelper<TOptions> class. |
Properties
| Name | Description |
|---|---|
| Alt | Gets or sets the alternative text of the image. |
| Class | Gets or sets the class name of the image. |
| Id | Gets or sets the identifier of the image. |
| Src | Gets or sets the source of the image. |
| Title | Gets or sets the title of the image. |
Methods
| Name | Description |
|---|---|
| ProcessAsync(TagHelperContext, TagHelperOutput) | Asynchronously executes the TagHelper with the given |
See Also
CacheBustingTagHelper<TOptions>