8 lines
279 B
C#
8 lines
279 B
C#
namespace LCU.API.Internal.DocumentLibTest.TestDataFactories;
|
|
|
|
public static class EnumerableDataSeriesFactory
|
|
{
|
|
public static IEnumerable<T> CreateSeries<T>(Func<T> singleFactory, int count) => Enumerable
|
|
.Repeat(singleFactory, count)
|
|
.Select(f => f());
|
|
} |