Skip to content

M_CSharpx_EnumerableExtensions_AssertCountImpl__1

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

EnumerableExtensions.AssertCountImpl(TSource) Method

Namespace: CSharpx
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

private static IEnumerable<TSource> AssertCountImpl<TSource>(
	IEnumerable<TSource> source,
	int count,
	Func<int, int, Exception> errorSelector
)

VB

Private Shared Function AssertCountImpl(Of TSource) ( 
	source As IEnumerable(Of TSource),
	count As Integer,
	errorSelector As Func(Of Integer, Integer, Exception)
) As IEnumerable(Of TSource)

C++

private:
generic<typename TSource>
static IEnumerable<TSource>^ AssertCountImpl(
	IEnumerable<TSource>^ source, 
	int count, 
	Func<int, int, Exception^>^ errorSelector
)

F#

private static member AssertCountImpl : 
        source : IEnumerable<'TSource> * 
        count : int * 
        errorSelector : Func<int, int, Exception> -> IEnumerable<'TSource> 

Parameters

 

source
Type: System.Collections.Generic.IEnumerable(TSource)
count
Type: System.Int32
errorSelector
Type: System.Func(Int32, Int32, Exception)

Type Parameters

 

TSource

Return Value

Type: IEnumerable(TSource)

See Also

Reference

EnumerableExtensions Class
CSharpx Namespace

Clone this wiki locally