| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Returns the result of applying a function to a sequence of 1 element.
Namespace: CSharpx
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
public static TResult Fold<T, TResult>(
this IEnumerable<T> source,
Func<T, TResult> folder
)VB
<ExtensionAttribute>
Public Shared Function Fold(Of T, TResult) (
source As IEnumerable(Of T),
folder As Func(Of T, TResult)
) As TResultC++
public:
[ExtensionAttribute]
generic<typename T, typename TResult>
static TResult Fold(
IEnumerable<T>^ source,
Func<T, TResult>^ folder
)F#
[<ExtensionAttribute>]
static member Fold :
source : IEnumerable<'T> *
folder : Func<'T, 'TResult> -> 'TResult
Type: TResult
In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable(T). When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
CommandLineParser Class Library V2.6
| Back | FazBrowse Home | New Git URL |