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 |
System.Collections.Generic.IEnumerable<System.Type> |
types |
|
Returns
Type |
Description |
TBuilder |
|
View Source
Add(Type)
Declaration
public TBuilder Add(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
TBuilder |
|
View Source
Add<T>()
Declaration
Returns
Type |
Description |
TBuilder |
|
Type Parameters
View Source
CreateCollection(IFactory)
Declaration
public TCollection CreateCollection(IFactory factory)
Parameters
Returns
Type |
Description |
TCollection |
|
View Source
RegisterWith(IRegister)
Declaration
public void RegisterWith(IRegister register)
Parameters
View Source
Remove(Type)
Declaration
public TBuilder Remove(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
TBuilder |
|
View Source
Remove<T>()
Declaration
public TBuilder Remove<T>()
Returns
Type |
Description |
TBuilder |
|
Type Parameters