CacheBustingTagHelper<TOptions> Class
Definition
- Namespace
- Cuemon.AspNetCore.Razor.TagHelpers
- Assemblies
- Cuemon.AspNetCore.Razor.TagHelpers.dll
Provides a base-class for static content related TagHelper implementation in Razor for ASP.NET Core.
public abstract class CacheBustingTagHelper<TOptions> : TagHelper, ITagHelper, ITagHelperComponent, IConfigurable<TOptions> where TOptions : TagHelperOptions, new()
Type Parameters
TOptions
- Inheritance
-
CacheBustingTagHelper<TOptions>
- Implements
-
IConfigurable<TOptions>
- Derived
- Inherited Members
Constructors
| Name | Description |
|---|---|
| CacheBustingTagHelper(IOptions<TOptions>, ICacheBusting) | Initializes a new instance of the CacheBustingTagHelper<TOptions> class. |
Properties
| Name | Description |
|---|---|
| CacheBusting | Gets the by constructor optional supplied object implementing the ICacheBusting interface. |
| Options | Gets the configured options of this instance. |
| UseCacheBusting | Gets a value indicating whether an object implementing the ICacheBusting interface is specified. |
| ViewContext | Gets or sets the current view context. |
Methods
| Name | Description |
|---|---|
| ResolveUrl(string) | Resolves the fully qualified URL of the specified static resource. |
See Also
IConfigurable<TOptions>