Class AbpTagHelperResourceService
Inheritance
object
AbpTagHelperResourceService
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Bundling.dll
Syntax
public abstract class AbpTagHelperResourceService : ITransientDependency
Constructors
AbpTagHelperResourceService(IBundleManager, IOptions<AbpBundlingOptions>, IWebHostEnvironment)
Declaration
protected AbpTagHelperResourceService(IBundleManager bundleManager, IOptions<AbpBundlingOptions> options, IWebHostEnvironment hostingEnvironment)
Parameters
| Type |
Name |
Description |
| IBundleManager |
bundleManager |
|
| Microsoft.Extensions.Options.IOptions<TOptions><AbpBundlingOptions> |
options |
|
| Microsoft.AspNetCore.Hosting.IWebHostEnvironment |
hostingEnvironment |
|
Properties
BundleManager
Declaration
protected IBundleManager BundleManager { get; }
Property Value
HostingEnvironment
Declaration
protected IWebHostEnvironment HostingEnvironment { get; }
Property Value
| Type |
Description |
| Microsoft.AspNetCore.Hosting.IWebHostEnvironment |
|
Logger
Declaration
public ILogger<AbpTagHelperResourceService> Logger { get; set; }
Property Value
Options
Declaration
protected AbpBundlingOptions Options { get; }
Property Value
Methods
AddHtmlTag(ViewContext, TagHelper, TagHelperContext, TagHelperOutput, string)
Declaration
protected abstract void AddHtmlTag(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, string file)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Mvc.Rendering.ViewContext |
viewContext |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelper |
tagHelper |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput |
output |
|
| string |
file |
|
CreateBundle(string, List<BundleTagHelperItem>)
Declaration
protected abstract void CreateBundle(string bundleName, List<BundleTagHelperItem> bundleItems)
Parameters
| Type |
Name |
Description |
| string |
bundleName |
|
| System.Collections.Generic.List<T><BundleTagHelperItem> |
bundleItems |
|
GenerateBundleName(List<BundleTagHelperItem>)
Declaration
protected virtual string GenerateBundleName(List<BundleTagHelperItem> bundleItems)
Parameters
Returns
GetBundleFilesAsync(string)
Declaration
protected abstract Task<IReadOnlyList<string>> GetBundleFilesAsync(string bundleName)
Parameters
| Type |
Name |
Description |
| string |
bundleName |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><System.Collections.Generic.IReadOnlyList<T><string>> |
|
ProcessAsync(ViewContext, TagHelper, TagHelperContext, TagHelperOutput, List<BundleTagHelperItem>, string)
Declaration
public virtual Task ProcessAsync(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, List<BundleTagHelperItem> bundleItems, string bundleName = null)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Mvc.Rendering.ViewContext |
viewContext |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelper |
tagHelper |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext |
context |
|
| Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput |
output |
|
| System.Collections.Generic.List<T><BundleTagHelperItem> |
bundleItems |
|
| string |
bundleName |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Implements
Extension Methods