Class BundlerBase
Inheritance
object
BundlerBase
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 |
| Microsoft.AspNetCore.Hosting.IWebHostEnvironment |
hostEnvironment |
|
| IMinifier |
minifier |
|
| Microsoft.Extensions.Options.IOptions<TOptions><AbpBundlingOptions> |
bundlingOptions |
|
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
| Type |
Description |
| Microsoft.AspNetCore.Hosting.IWebHostEnvironment |
|
Logger
Declaration
public ILogger<BundlerBase> Logger { get; set; }
Property Value
| Type |
Description |
| Microsoft.Extensions.Logging.ILogger<TCategoryName><BundlerBase> |
|
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
| Type |
Description |
| Microsoft.Extensions.FileProviders.IFileInfo |
|
GetMinFileInfoOrNull(string)
Declaration
protected virtual IFileInfo GetMinFileInfoOrNull(string file)
Parameters
| Type |
Name |
Description |
| string |
file |
|
Returns
| Type |
Description |
| Microsoft.Extensions.FileProviders.IFileInfo |
|
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
| Type |
Name |
Description |
| IBundlerContext |
context |
|
| string |
filePath |
|
| string |
fileContent |
|
Returns
Implements
Extension Methods