Iteratively execute an aggregation function whose result is given into a destination string.

Namespace: Keystone.Polaris
Assembly: Keystone (in Keystone.dll)

public static string Reduce( 
this int numberOfIterations
Func<string, string> reductionFunction 
)
This language is not supported or no code example is available.

Parameters

numberOfIterations

Type: int

The number ot iterations to execute.

reductionFunction

Type: Func<string, string>

The aggregation function to be executed on each iteration, the previous iteration aggregation result is injected as argument into this function when called.

Return Value

The aggregation cumulative result.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono