Class StyleBundler
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.Styles
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Bundling.dll
Syntax
public class StyleBundler : BundlerBase, ITransientDependency, IStyleBundler, IBundler
Constructors
StyleBundler(IWebHostEnvironment, ICssMinifier, IOptions<AbpBundlingOptions>)
Declaration
public StyleBundler(IWebHostEnvironment hostEnvironment, ICssMinifier minifier, IOptions<AbpBundlingOptions> bundlingOptions)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Hosting.IWebHostEnvironment | hostEnvironment | |
| ICssMinifier | minifier | |
| Microsoft.Extensions.Options.IOptions<TOptions><AbpBundlingOptions> | bundlingOptions |
Properties
FileExtension
Declaration
public override string FileExtension { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetAbsolutePath(string)
Declaration
public string GetAbsolutePath(string relativePath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | relativePath |
Returns
| Type | Description |
|---|---|
| string |
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 |