Fork me on GitHubEpicdominant domains
APIEpic.Extended.DelegatesFuncExtApplyTo<(Of <<'(T, TResult>)>>)(array<Object>[]()[][], Func<(Of <<'(T, TResult>)>>))

ApplyTo<(Of <(<'T, TResult>)>)> Method (values, func)
Applies an array of objects to a function.

Assembly: Epic.Prelude

Declaration Syntax
C#
public static TResult ApplyTo<T, TResult>(
	this Object[] values,
	Func<T, TResult> func
)
Generic Template Parameters
T
The 1st type parameter.
TResult
The type of the result.
Parameters
values (array<Object>[]()[][])
Values to apply.
func (Func<(Of <(<'T, TResult>)>)>)
Function to apply.
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 T.
MissingValuesExceptionvalues contains too few elements to be used as arguments for func.
blog comments powered by Disqus