Class BundleContributorCollection
Inheritance
object
BundleContributorCollection
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.Abstractions.dll
Syntax
public class BundleContributorCollection
Constructors
BundleContributorCollection()
Declaration
public BundleContributorCollection()
Methods
Add(Type)
Declaration
public void Add(Type contributorType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | contributorType |
Add(IBundleContributor)
Declaration
public void Add(IBundleContributor contributor)
Parameters
| Type | Name | Description |
|---|---|---|
| IBundleContributor | contributor |
Add<TContributor>()
Declaration
public void Add<TContributor>() where TContributor : IBundleContributor, new()
Type Parameters
| Name | Description |
|---|---|
| TContributor |
GetAll()
Declaration
public IReadOnlyList<IBundleContributor> GetAll()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IReadOnlyList<T><IBundleContributor> |
Remove<TContributor>(bool)
Declaration
public void Remove<TContributor>(bool includeDependencies = false) where TContributor : IBundleContributor, new()
Parameters
| Type | Name | Description |
|---|---|---|
| bool | includeDependencies |
Type Parameters
| Name | Description |
|---|---|
| TContributor |
Replace(Type, Type, bool)
Declaration
public void Replace(Type sourceContributorType, Type destContributorType, bool includeDependencies = false)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | sourceContributorType | |
| System.Type | destContributorType | |
| bool | includeDependencies |
Replace<TSourceContributor, TDestContributorType>(bool)
Declaration
public void Replace<TSourceContributor, TDestContributorType>(bool includeDependencies = false) where TSourceContributor : IBundleContributor, new() where TDestContributorType : IBundleContributor, new()
Parameters
| Type | Name | Description |
|---|---|---|
| bool | includeDependencies |
Type Parameters
| Name | Description |
|---|---|
| TSourceContributor | |
| TDestContributorType |