Class AppImageTagHelper
- Namespace
- Cuemon.AspNetCore.Razor.TagHelpers
- Assembly
- Cuemon.AspNetCore.Razor.TagHelpers.dll
Provides an implementation targeting <img> elements that supports ICacheBusting versioning of a static image placed on a location outside (but tied to) your application. This class cannot be inherited.
[HtmlTargetElement("app-img")]
public sealed class AppImageTagHelper : ImageTagHelper<AppTagHelperOptions>, ITagHelper, ITagHelperComponent, IConfigurable<AppTagHelperOptions>- Inheritance
- 
      
      
      
      
      AppImageTagHelper
- Implements
- Inherited Members
Constructors
AppImageTagHelper(IOptions<AppTagHelperOptions>, ICacheBusting)
Initializes a new instance of the AppImageTagHelper class.
public AppImageTagHelper(IOptions<AppTagHelperOptions> setup, ICacheBusting cacheBusting = null)Parameters
- setupIOptions<AppTagHelperOptions>
- The AppTagHelperOptions which need to be configured. 
- cacheBustingICacheBusting
- An optional object implementing the ICacheBusting interface. 
See Also
ImageTagHelper<TOptions>