FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

M_CSharpx_EnumerableExtensions_FoldImpl__2 · commandlineparser/commandline Wiki · GitHub

M_CSharpx_EnumerableExtensions_FoldImpl__2 · commandlineparser/commandline Wiki · GitHub
Skip to content

Navigation Menu

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

Wiki pages Pages 1,025

Clone this wiki locally

Footer

© 2026 GitHub, Inc.

Back | FazBrowse Home | New Git URL