Class BundlerBase
Assembly: Volo.Abp.AspNetCore.Bundling.dll
Syntax
public abstract class BundlerBase : IBundler, ITransientDependency
Constructors
BundlerBase(IMinifier, IOptions<AbpBundlingOptions>)
Declaration
protected BundlerBase(IMinifier minifier, IOptions<AbpBundlingOptions> bundlingOptions)
Parameters
Properties
BundlingOptions
Declaration
protected AbpBundlingOptions BundlingOptions { get; }
Property Value
FileExtension
Declaration
public abstract string FileExtension { get; }
Property Value
Logger
Declaration
public ILogger<BundlerBase> Logger { get; set; }
Property Value
Minifier
Declaration
protected IMinifier Minifier { get; }
Property Value
Methods
Bundle(IBundlerContext)
Declaration
public BundleResult Bundle(IBundlerContext context)
Parameters
Returns
FindFileInfo(string)
Declaration
protected abstract IFileInfo FindFileInfo(string file)
Parameters
Type |
Name |
Description |
string |
file |
|
Returns
GetFileInfo(IBundlerContext, string)
Declaration
protected virtual IFileInfo GetFileInfo(IBundlerContext context, string file)
Parameters
Returns
GetMinFileInfoOrNull(string)
Declaration
protected virtual IFileInfo? GetMinFileInfoOrNull(string file)
Parameters
Type |
Name |
Description |
string |
file |
|
Returns
IsMinFile(string)
Declaration
protected virtual bool IsMinFile(string fileName)
Parameters
Type |
Name |
Description |
string |
fileName |
|
Returns
ProcessBeforeAddingToTheBundle(IBundlerContext, string, string)
Declaration
protected virtual string ProcessBeforeAddingToTheBundle(IBundlerContext context, string filePath, string fileContent)
Parameters
Returns
Implements
Extension Methods