Changes IValueSetBuilder to not be strongly typed, no need for that

This commit is contained in:
Shannon
2018-12-12 12:05:19 +11:00
parent 0dff7680fd
commit e1743ae3ea

View File

@@ -5,18 +5,17 @@ using Umbraco.Core.Models;
namespace Umbraco.Examine
{
/// <summary>
/// Creates a collection of <see cref="ValueSet"/> to be indexed based on a collection of <see cref="TContent"/>
/// Creates a collection of <see cref="ValueSet"/> to be indexed based on a collection of <see cref="T"/>
/// </summary>
/// <typeparam name="TContent"></typeparam>
public interface IValueSetBuilder<in TContent>
where TContent : IContentBase
/// <typeparam name="T"></typeparam>
public interface IValueSetBuilder<in T>
{
/// <summary>
/// Creates a collection of <see cref="ValueSet"/> to be indexed based on a collection of <see cref="TContent"/>
/// Creates a collection of <see cref="ValueSet"/> to be indexed based on a collection of <see cref="T"/>
/// </summary>
/// <param name="content"></param>
/// <returns></returns>
IEnumerable<ValueSet> GetValueSets(params TContent[] content);
IEnumerable<ValueSet> GetValueSets(params T[] content);
}
}