Class BundleContributorCollection
Inheritance
System.Object
BundleContributorCollection
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 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<IBundleContributor> |
Remove<TContributor>(Boolean)
Declaration
public void Remove<TContributor>(bool includeDependencies = false)
where TContributor : IBundleContributor, new()
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | includeDependencies |
Type Parameters
Name | Description |
---|---|
TContributor |
Replace(Type, Type, Boolean)
Declaration
public void Replace(Type sourceContributorType, Type destContributorType, bool includeDependencies = false)
Parameters
Type | Name | Description |
---|---|---|
System.Type | sourceContributorType | |
System.Type | destContributorType | |
System.Boolean | includeDependencies |
Replace<TSourceContributor, TDestContributorType>(Boolean)
Declaration
public void Replace<TSourceContributor, TDestContributorType>(bool includeDependencies = false)
where TSourceContributor : IBundleContributor, new()
where TDestContributorType : IBundleContributor, new()
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | includeDependencies |
Type Parameters
Name | Description |
---|---|
TSourceContributor | |
TDestContributorType |