Class BuilderCollectionBase<TItem>
Provides a base class for builder collections.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Composing
Assembly: Umbraco.Core.dll
Syntax
public abstract class BuilderCollectionBase<TItem> : IBuilderCollection<TItem>
Type Parameters
Name | Description |
---|---|
TItem | The type of the items. |
Constructors
View SourceBuilderCollectionBase(Func<IEnumerable<TItem>>)
Declaration
public BuilderCollectionBase(Func<IEnumerable<TItem>> items)
Parameters
Type | Name | Description |
---|---|---|
Func<System.Collections.IEnumerable<TItem>> | items |
Properties
View SourceCount
Gets the number of items in the collection.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
View SourceGetEnumerator()
Gets an enumerator.
Declaration
public IEnumerator<TItem> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator<TItem> |