Show / Hide Table of Contents

Class BundlerBase

Inheritance
object
BundlerBase
ScriptBundler
StyleBundler
Implements
IBundler
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
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Bundling.dll
Syntax
public abstract class BundlerBase : IBundler, ITransientDependency

Constructors

BundlerBase(IWebHostEnvironment, IMinifier, IOptions<AbpBundlingOptions>)

Declaration
protected BundlerBase(IWebHostEnvironment hostEnvironment, IMinifier minifier, IOptions<AbpBundlingOptions> bundlingOptions)
Parameters
Type Name Description
IWebHostEnvironment hostEnvironment
IMinifier minifier
IOptions<AbpBundlingOptions> bundlingOptions

Properties

BundlingOptions

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

FileExtension

Declaration
public abstract string FileExtension { get; }
Property Value
Type Description
string

HostEnvironment

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

Logger

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

Minifier

Declaration
protected IMinifier Minifier { get; }
Property Value
Type Description
IMinifier

Methods

Bundle(IBundlerContext)

Declaration
public BundleResult Bundle(IBundlerContext context)
Parameters
Type Name Description
IBundlerContext context
Returns
Type Description
BundleResult

GetFileInfo(IBundlerContext, string)

Declaration
protected virtual IFileInfo GetFileInfo(IBundlerContext context, string file)
Parameters
Type Name Description
IBundlerContext context
string file
Returns
Type Description
IFileInfo

GetMinFileInfoOrNull(string)

Declaration
protected virtual IFileInfo? GetMinFileInfoOrNull(string file)
Parameters
Type Name Description
string file
Returns
Type Description
IFileInfo

IsMinFile(string)

Declaration
protected virtual bool IsMinFile(string fileName)
Parameters
Type Name Description
string fileName
Returns
Type Description
bool

ProcessBeforeAddingToTheBundle(IBundlerContext, string, string)

Declaration
protected virtual string ProcessBeforeAddingToTheBundle(IBundlerContext context, string filePath, string fileContent)
Parameters
Type Name Description
IBundlerContext context
string filePath
string fileContent
Returns
Type Description
string

Implements

IBundler
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