[This is preliminary documentation and is subject to change.]
This is a general purpose delegate to hold a method with two parameters
and a return value,
Declaration Syntax
C# |
public delegate R Function<T, U, R>( T parameter1, U parameter2 )
Generic Template Parameters
- T
- The type of the first parameter.
- U
- The type of the second parameter.
- R
- The type of the return value.
Parameters
- parameter1 (T)
- The first parameter passed to the method.
- parameter2 (U)
- The second parameter passed to the method.
Return Value
The return value from the method.