Class BundlerBase
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
Properties
BundlingOptions
Declaration
protected AbpBundlingOptions BundlingOptions { get; }
Property Value
FileExtension
Declaration
public abstract string FileExtension { get; }
Property Value
HostEnvironment
Declaration
protected IWebHostEnvironment HostEnvironment { 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
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