MoreLinq
Split<(Of <(<'TSource, TResult>)>)> Method (source, separatorFunc, resultSelector)
NamespacesMoreLinqMoreEnumerableSplit<(Of <<'(TSource, TResult>)>>)(IEnumerable<(Of <<'(TSource>)>>), Func<(Of <<'(TSource, Boolean>)>>), Func<(Of <<'(IEnumerable<(Of <<'(TSource>)>>), TResult>)>>))
Splits the source sequence by a separator function and then transforms the splits into results.
Declaration Syntax
C#Visual BasicVisual C++
public static IEnumerable<TResult> Split<TSource, TResult>(
	this IEnumerable<TSource> source,
	Func<TSource, bool> separatorFunc,
	Func<IEnumerable<TSource>, TResult> resultSelector
)
<ExtensionAttribute> _
Public Shared Function Split(Of TSource, TResult) ( _
	source As IEnumerable(Of TSource), _
	separatorFunc As Func(Of TSource, Boolean), _
	resultSelector As Func(Of IEnumerable(Of TSource), TResult) _
) As IEnumerable(Of TResult)
public:
[ExtensionAttribute]
generic<typename TSource, typename TResult>
static IEnumerable<TResult>^ Split(
	IEnumerable<TSource>^ source, 
	Func<TSource, bool>^ separatorFunc, 
	Func<IEnumerable<TSource>^, TResult>^ resultSelector
)
Generic Template Parameters
TSource

[Missing <typeparam name="TSource"/> documentation for "M:MoreLinq.MoreEnumerable.Split``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Boolean},System.Func{System.Collections.Generic.IEnumerable{``0},``1})"]

TResult

[Missing <typeparam name="TResult"/> documentation for "M:MoreLinq.MoreEnumerable.Split``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Boolean},System.Func{System.Collections.Generic.IEnumerable{``0},``1})"]

Parameters
source (IEnumerable<(Of <(<'TSource>)>)>)

[Missing <param name="source"/> documentation for "M:MoreLinq.MoreEnumerable.Split``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Boolean},System.Func{System.Collections.Generic.IEnumerable{``0},``1})"]

separatorFunc (Func<(Of <(<'TSource, Boolean>)>)>)

[Missing <param name="separatorFunc"/> documentation for "M:MoreLinq.MoreEnumerable.Split``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Boolean},System.Func{System.Collections.Generic.IEnumerable{``0},``1})"]

resultSelector (Func<(Of <(<'IEnumerable<(Of <(<'TSource>)>)>, TResult>)>)>)

[Missing <param name="resultSelector"/> documentation for "M:MoreLinq.MoreEnumerable.Split``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Boolean},System.Func{System.Collections.Generic.IEnumerable{``0},``1})"]

Return Value

[Missing <returns> documentation for "M:MoreLinq.MoreEnumerable.Split``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Boolean},System.Func{System.Collections.Generic.IEnumerable{``0},``1})"]

Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<(Of <(<'TSource>)>)>. When you use instance method syntax to call this method, omit the first parameter.

Assembly: MoreLinq (Module: MoreLinq.dll) Version: 1.0.16006.0 (1.0.16006.1845)