View Source
Class TypeCollectionBuilderBase<TBuilder, TCollection, TConstraint>
Provides a base class for collections of types.
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public abstract class TypeCollectionBuilderBase<TBuilder, TCollection, TConstraint> : ICollectionBuilder<TCollection, Type>, ICollectionBuilder where TBuilder : TypeCollectionBuilderBase<TBuilder, TCollection, TConstraint> where TCollection : class, IBuilderCollection<Type>
Type Parameters
Name |
Description |
TBuilder |
|
TCollection |
|
TConstraint |
|
Properties
View Source
This
Declaration
protected abstract TBuilder This { get; }
Property Value
Type |
Description |
TBuilder |
|
Methods
View Source
Add(IEnumerable<Type>)
Declaration
public TBuilder Add(IEnumerable<Type> types)
Parameters
Type |
Name |
Description |
IEnumerable<Type> |
types |
|
Returns
Type |
Description |
TBuilder |
|
View Source
Add(Type)
Declaration
public TBuilder Add(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Type |
Description |
TBuilder |
|
View Source
Add<T>()
Declaration
Returns
Type |
Description |
TBuilder |
|
Type Parameters
View Source
CreateCollection(IServiceProvider)
Declaration
public TCollection CreateCollection(IServiceProvider factory)
Parameters
Type |
Name |
Description |
IServiceProvider |
factory |
|
Returns
Type |
Description |
TCollection |
|
View Source
RegisterWith(IServiceCollection)
Declaration
public void RegisterWith(IServiceCollection services)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
View Source
Remove(Type)
Declaration
public TBuilder Remove(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Type |
Description |
TBuilder |
|
View Source
Remove<T>()
Declaration
public TBuilder Remove<T>()
Returns
Type |
Description |
TBuilder |
|
Type Parameters