mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-23 00:18:47 +00:00
(#7) Move EnumerableExtensions to child namespace
This commit is contained in:
parent
36710253c4
commit
ab08b1c1c0
@ -3,7 +3,7 @@ using System.Linq;
|
|||||||
using X10D.ComparableExtensions;
|
using X10D.ComparableExtensions;
|
||||||
using X10D.ListExtensions;
|
using X10D.ListExtensions;
|
||||||
|
|
||||||
namespace X10D
|
namespace X10D.EnumerableExtensions
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see cref="IEnumerable{T}" />.
|
/// Extension methods for <see cref="IEnumerable{T}" />.
|
||||||
@ -28,10 +28,10 @@ namespace X10D
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <typeparam name="T">Any type.</typeparam>
|
/// <typeparam name="T">Any type.</typeparam>
|
||||||
/// <param name="value">The collection to split.</param>
|
/// <param name="value">The collection to split.</param>
|
||||||
/// <param name="chunkSize">The maximum length of the nested <see cref="byte" /> collection.</param>
|
/// <param name="chunkSize">The maximum length of the nested collection.</param>
|
||||||
/// <returns>
|
/// <returns>
|
||||||
/// Returns an <see cref="IEnumerable{T}" /> of <see cref="IEnumerable{T}" /> of <see cref="byte" />
|
/// An <see cref="IEnumerable{T}" /> containing an <see cref="IEnumerable{T}" /> of <typeparamref name="T" />
|
||||||
/// values.
|
/// whose lengths are no greater than <paramref name="chunkSize" />.
|
||||||
/// </returns>
|
/// </returns>
|
||||||
public static IEnumerable<IEnumerable<T>> Split<T>(this IEnumerable<T> value, int chunkSize)
|
public static IEnumerable<IEnumerable<T>> Split<T>(this IEnumerable<T> value, int chunkSize)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user