Fork me on GitHubEpicdominant domains
APIEpic.Extended.DelegatesFuncExtApplyTo<(Of <<'(T1, T2, T3, T4, TResult>)>>)(array<Object>[]()[][], Func<(Of <<'(T1, T2, T3, T4, TResult>)>>), array<Object>[]()[][]%)

ApplyTo<(Of <(<'T1, T2, T3, T4, TResult>)>)> Method (values, func, remainders)
Applies an array of objects to a function.

Assembly: Epic.Prelude

Declaration Syntax
C#
public static TResult ApplyTo<T1, T2, T3, T4, TResult>(
	this Object[] values,
	Func<T1, T2, T3, T4, TResult> func,
	out Object[] remainders
)
Generic Template Parameters
T1
The 1st type parameter.
T2
The 2nd type parameter.
T3
The 3rd type parameter.
T4
The 4th type parameter.
TResult
The type of the result.
Parameters
values (array<Object>[]()[][])
Values to apply.
func (Func<(Of <(<'T1, T2, T3, T4, TResult>)>)>)
Function to apply.
remainders (array<Object>[]()[][]%)
Values ignored by func.
Return Value
The result returned by func.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalues or func is nullNothingnullptr.
InvalidCastExceptionThe first element of values can not be casted to T1, the second element can not be casted to T2, the third element can not be casted to T3 or the fourth element can not be casted to T4.
MissingValuesExceptionvalues contains too few elements to be used as arguments for func.
blog comments powered by Disqus