18 lines
677 B
C#
18 lines
677 B
C#
namespace Umbraco.Core.DependencyInjection
|
|
{
|
|
/// <summary>
|
|
/// Represents an injected collection builder.
|
|
/// </summary>
|
|
/// <typeparam name="TCollection">The type of the collection.</typeparam>
|
|
/// <typeparam name="TItem">The type of the items.</typeparam>
|
|
public interface IInjectCollectionBuilder<out TCollection, TItem>
|
|
where TCollection : IInjectCollection<TItem>
|
|
{
|
|
/// <summary>
|
|
/// Gets a collection.
|
|
/// </summary>
|
|
/// <returns>A collection.</returns>
|
|
/// <remarks>The lifetime of the collection depends on how the builder was registered.</remarks>
|
|
TCollection GetCollection();
|
|
}
|
|
} |