Show / Hide Table of Contents

Class AbpTagHelperResourceService

Inheritance
object
AbpTagHelperResourceService
AbpTagHelperScriptService
AbpTagHelperStyleService
Implements
ITransientDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers
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
IOptions<AbpBundlingOptions> options
IWebHostEnvironment hostingEnvironment

Properties

BundleManager

Declaration
protected IBundleManager BundleManager { get; }
Property Value
Type Description
IBundleManager

HostingEnvironment

Declaration
protected IWebHostEnvironment HostingEnvironment { get; }
Property Value
Type Description
IWebHostEnvironment

Logger

Declaration
public ILogger<AbpTagHelperResourceService> Logger { get; set; }
Property Value
Type Description
ILogger<AbpTagHelperResourceService>

Options

Declaration
protected AbpBundlingOptions Options { get; }
Property Value
Type Description
AbpBundlingOptions

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
Type Name Description
ViewContext viewContext
TagHelper tagHelper
TagHelperContext context
TagHelperOutput output
BundleFile file
string bundleName

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
Type Name Description
ViewContext viewContext
TagHelper tagHelper
TagHelperContext context
TagHelperOutput output
BundleFile file
IFileInfo fileInfo

CreateBundle(string, List<BundleTagHelperItem>)

Declaration
protected abstract void CreateBundle(string bundleName, List<BundleTagHelperItem> bundleItems)
Parameters
Type Name Description
string bundleName
List<BundleTagHelperItem> bundleItems

GenerateBundleName(List<BundleTagHelperItem>)

Declaration
protected virtual string GenerateBundleName(List<BundleTagHelperItem> bundleItems)
Parameters
Type Name Description
List<BundleTagHelperItem> bundleItems
Returns
Type Description
string

GetBundleFilesAsync(string)

Declaration
protected abstract Task<IReadOnlyList<BundleFile>> GetBundleFilesAsync(string bundleName)
Parameters
Type Name Description
string bundleName
Returns
Type Description
Task<IReadOnlyList<BundleFile>>

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
ViewContext viewContext
TagHelper tagHelper
TagHelperContext context
TagHelperOutput output
List<BundleTagHelperItem> bundleItems
string bundleName
Returns
Type Description
Task

Implements

ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform