Skip to content

M_CSharpx_EnumerableExtensions_FoldImpl__2

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

EnumerableExtensions.FoldImpl(T, TResult) Method

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

Syntax

C#

private static TResult FoldImpl<T, TResult>(
	IEnumerable<T> source,
	int count,
	Func<T, TResult> folder1,
	Func<T, T, TResult> folder2,
	Func<T, T, T, TResult> folder3,
	Func<T, T, T, T, TResult> folder4
)

VB

Private Shared Function FoldImpl(Of T, TResult) ( 
	source As IEnumerable(Of T),
	count As Integer,
	folder1 As Func(Of T, TResult),
	folder2 As Func(Of T, T, TResult),
	folder3 As Func(Of T, T, T, TResult),
	folder4 As Func(Of T, T, T, T, TResult)
) As TResult

C++

private:
generic<typename T, typename TResult>
static TResult FoldImpl(
	IEnumerable<T>^ source, 
	int count, 
	Func<T, TResult>^ folder1, 
	Func<T, T, TResult>^ folder2, 
	Func<T, T, T, TResult>^ folder3, 
	Func<T, T, T, T, TResult>^ folder4
)

F#

private static member FoldImpl : 
        source : IEnumerable<'T> * 
        count : int * 
        folder1 : Func<'T, 'TResult> * 
        folder2 : Func<'T, 'T, 'TResult> * 
        folder3 : Func<'T, 'T, 'T, 'TResult> * 
        folder4 : Func<'T, 'T, 'T, 'T, 'TResult> -> 'TResult 

Parameters

 

source
Type: System.Collections.Generic.IEnumerable(T)
count
Type: System.Int32
folder1
Type: System.Func(T, TResult)
folder2
Type: System.Func(T, T, TResult)
folder3
Type: System.Func(T, T, T, TResult)
folder4
Type: System.Func(T, T, T, T, TResult)

Type Parameters

 

T
TResult

Return Value

Type: TResult

See Also

Reference

EnumerableExtensions Class
CSharpx Namespace

Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy