2016-08-16 10:00:14 +02:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
2017-05-30 15:46:25 +02:00
|
|
|
|
namespace Umbraco.Core.Composing
|
2016-08-16 10:00:14 +02:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2016-08-16 10:25:19 +02:00
|
|
|
|
/// Represents a builder collection, ie an immutable enumeration of items.
|
2016-08-16 10:00:14 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <typeparam name="TItem">The type of the items.</typeparam>
|
2016-08-16 10:25:19 +02:00
|
|
|
|
public interface IBuilderCollection<out TItem> : IEnumerable<TItem>
|
2016-08-16 10:00:14 +02:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2016-08-16 10:25:19 +02:00
|
|
|
|
/// Gets the number of items in the collection.
|
2016-08-16 10:00:14 +02:00
|
|
|
|
/// </summary>
|
2016-08-16 10:25:19 +02:00
|
|
|
|
int Count { get; }
|
2016-08-16 10:00:14 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|