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