Show / Hide Table of Contents

Class BundlerBase

Inheritance
System.Object
BundlerBase
ScriptBundler
StyleBundler
Implements
IBundler
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()
Namespace: Volo.Abp.AspNetCore.Mvc.UI.Bundling
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
Type Description
ILogger<BundlerBase>

Minifier

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

WebContentFileProvider

Declaration
protected IWebContentFileProvider WebContentFileProvider { get; }
Property Value
Type Description
IWebContentFileProvider

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
System.String file
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

IBundler
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft