-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_ValueOneOf_8_GetValue__1
Andrew Koryavchenko edited this page Jun 17, 2018
·
2 revisions
Calls func for actual type argument and returns calculated value.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public TResult GetValue<TResult>(
Func<T1, TResult> case1Selector,
Func<T2, TResult> case2Selector,
Func<T3, TResult> case3Selector,
Func<T4, TResult> case4Selector,
Func<T5, TResult> case5Selector,
Func<T6, TResult> case6Selector,
Func<T7, TResult> case7Selector,
Func<T8, TResult> case8Selector
)
VB
Public Function GetValue(Of TResult) (
case1Selector As Func(Of T1, TResult),
case2Selector As Func(Of T2, TResult),
case3Selector As Func(Of T3, TResult),
case4Selector As Func(Of T4, TResult),
case5Selector As Func(Of T5, TResult),
case6Selector As Func(Of T6, TResult),
case7Selector As Func(Of T7, TResult),
case8Selector As Func(Of T8, TResult)
) As TResult
F#
abstract GetValue :
case1Selector : Func<'T1, 'TResult> *
case2Selector : Func<'T2, 'TResult> *
case3Selector : Func<'T3, 'TResult> *
case4Selector : Func<'T4, 'TResult> *
case5Selector : Func<'T5, 'TResult> *
case6Selector : Func<'T6, 'TResult> *
case7Selector : Func<'T7, 'TResult> *
case8Selector : Func<'T8, 'TResult> -> 'TResult
override GetValue :
case1Selector : Func<'T1, 'TResult> *
case2Selector : Func<'T2, 'TResult> *
case3Selector : Func<'T3, 'TResult> *
case4Selector : Func<'T4, 'TResult> *
case5Selector : Func<'T5, 'TResult> *
case6Selector : Func<'T6, 'TResult> *
case7Selector : Func<'T7, 'TResult> *
case8Selector : Func<'T8, 'TResult> -> 'TResult
- case1Selector
- Type: System.Func(T1, TResult)
Calculation function for T1 - case2Selector
- Type: System.Func(T2, TResult)
Calculation function for T2 - case3Selector
- Type: System.Func(T3, TResult)
Calculation function for T3 - case4Selector
- Type: System.Func(T4, TResult)
Calculation function for T4 - case5Selector
- Type: System.Func(T5, TResult)
Calculation function for T5 - case6Selector
- Type: System.Func(T6, TResult)
Calculation function for T6 - case7Selector
- Type: System.Func(T7, TResult)
Calculation function for T7 - case8Selector
- Type: System.Func(T8, TResult)
Calculation function for T8
- TResult
- [Missing documentation for "M:CodeJam.ValueOneOf
8.GetValue``1(System.Func{
0,0},System.Func{`1,
0},System.Func{2,``0},System.Func{
3,0},System.Func{`4,
0},System.Func{5,``0},System.Func{
6,0},System.Func{`7,
0})"]
Type: TResult
Calculated value.
ValueOneOf(T1, T2, T3, T4, T5, T6, T7, T8) Structure
CodeJam Namespace