Class BundleCache
Inheritance
object
BundleCache
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
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Bundling.dll
Syntax
public class BundleCache : IBundleCache, ISingletonDependency
Constructors
BundleCache()
Declaration
public BundleCache()
Methods
GetOrAdd(string, Func<BundleCacheItem>)
Declaration
public BundleCacheItem GetOrAdd(string bundleName, Func<BundleCacheItem> factory)
Parameters
| Type | Name | Description |
|---|---|---|
| string | bundleName | |
| System.Func<TResult><BundleCacheItem> | factory |
Returns
| Type | Description |
|---|---|
| BundleCacheItem |
Remove(string)
Declaration
public bool Remove(string bundleName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | bundleName |
Returns
| Type | Description |
|---|---|
| bool |