Class BundlerBase
Inheritance
System.Object
BundlerBase
Implements
ITransientDependency
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Bundling.dll
Syntax
public abstract class BundlerBase : IBundler, ITransientDependency
Constructors
BundlerBase(IWebContentFileProvider, IMinifier)
Declaration
protected BundlerBase(IWebContentFileProvider webContentFileProvider, IMinifier minifier)
Parameters
Type |
Name |
Description |
IWebContentFileProvider |
webContentFileProvider |
|
IMinifier |
minifier |
|
Properties
FileExtension
Declaration
public abstract string FileExtension { get; }
Property Value
Type |
Description |
System.String |
|
Logger
Declaration
public ILogger<BundlerBase> Logger { get; set; }
Property Value
Minifier
Declaration
protected IMinifier Minifier { get; }
Property Value
WebContentFileProvider
Declaration
protected IWebContentFileProvider WebContentFileProvider { get; }
Property Value
Type |
Description |
IWebContentFileProvider |
|
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
Type |
Description |
IFileInfo |
|
GetMinFileInfoOrNull(String)
Declaration
protected virtual IFileInfo GetMinFileInfoOrNull(string file)
Parameters
Type |
Name |
Description |
System.String |
file |
|
Returns
Type |
Description |
IFileInfo |
|
IsMinFile(String)
Declaration
protected virtual bool IsMinFile(string fileName)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
Returns
Type |
Description |
System.Boolean |
|
ProcessBeforeAddingToTheBundle(IBundlerContext, String, String)
Declaration
protected virtual string ProcessBeforeAddingToTheBundle(IBundlerContext context, string filePath, string fileContent)
Parameters
Type |
Name |
Description |
IBundlerContext |
context |
|
System.String |
filePath |
|
System.String |
fileContent |
|
Returns
Type |
Description |
System.String |
|
Implements
ITransientDependency
Extension Methods