Class AbpTagHelperResourceService
Inheritance
AbpTagHelperResourceService
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
Properties
BundleManager
Declaration
protected IBundleManager BundleManager { get; }
Property Value
HostingEnvironment
Declaration
protected IWebHostEnvironment HostingEnvironment { get; }
Property Value
Logger
Declaration
public ILogger<AbpTagHelperResourceService> Logger { get; set; }
Property Value
Options
Declaration
protected AbpBundlingOptions Options { get; }
Property Value
Methods
AddErrorScript(ViewContext, TagHelper, TagHelperContext, TagHelperOutput, BundleFile, string)
Declaration
protected virtual void AddErrorScript(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, BundleFile file, string bundleName)
Parameters
AddHtmlTag(ViewContext, TagHelper, TagHelperContext, TagHelperOutput, BundleFile, IFileInfo?)
Declaration
protected abstract void AddHtmlTag(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, BundleFile file, IFileInfo? fileInfo = null)
Parameters
CreateBundle(string, List<BundleTagHelperItem>)
Declaration
protected abstract void CreateBundle(string bundleName, List<BundleTagHelperItem> bundleItems)
Parameters
GenerateBundleName(List<BundleTagHelperItem>)
Declaration
protected virtual string GenerateBundleName(List<BundleTagHelperItem> bundleItems)
Parameters
Returns
GetBundleFilesAsync(string)
Declaration
protected abstract Task<IReadOnlyList<BundleFile>> GetBundleFilesAsync(string bundleName)
Parameters
Type |
Name |
Description |
string |
bundleName |
|
Returns
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
Returns
Implements
Extension Methods