Class ScriptBundler
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.Mvc.UI.Bundling.Scripts
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Bundling.dll
Syntax
public class ScriptBundler : BundlerBase, ITransientDependency, IScriptBundler, IBundler
Constructors
ScriptBundler(IWebHostEnvironment, IJavascriptMinifier, IOptions<AbpBundlingOptions>)
Declaration
public ScriptBundler(IWebHostEnvironment hostEnvironment, IJavascriptMinifier minifier, IOptions<AbpBundlingOptions> bundlingOptions)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Hosting.IWebHostEnvironment | hostEnvironment | |
| IJavascriptMinifier | minifier | |
| Microsoft.Extensions.Options.IOptions<TOptions><AbpBundlingOptions> | bundlingOptions |
Properties
FileExtension
Declaration
public override string FileExtension { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
ProcessBeforeAddingToTheBundle(IBundlerContext, string, string)
Declaration
protected override string ProcessBeforeAddingToTheBundle(IBundlerContext context, string filePath, string fileContent)
Parameters
| Type | Name | Description |
|---|---|---|
| IBundlerContext | context | |
| string | filePath | |
| string | fileContent |
Returns
| Type | Description |
|---|---|
| string |