Table of Contents

Invoke Method

Definition

Namespace
Cuemon.Extensions
Assemblies
Cuemon.Extensions.Core.dll
Source
src/Cuemon.Extensions.Core/FuncFactory.cs

Invoke<TTuple, TResult>(Func<TTuple, TResult>, TTuple)

Invokes the specified delegate method with a n-tuple argument.

public static TResult Invoke<TTuple, TResult>(Func<TTuple, TResult> method, TTuple tuple) where TTuple : MutableTuple

Parameters

method Func<TTuple, TResult>

The function delegate to invoke.

tuple TTuple

The n-tuple argument of method.

Returns

TResult

The result of the function delegate method.

Type Parameters

TTuple

The type of the n-tuple representation of a MutableTuple.

TResult

The type of the return value of the function delegate method.