-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_IOneOf_4_Do
Andrew Koryavchenko edited this page Jun 17, 2018
·
2 revisions
Calls action for actual type argument.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
void Do(
Action<T1> case1Action,
Action<T2> case2Action,
Action<T3> case3Action,
Action<T4> case4Action
)
VB
Sub Do (
case1Action As Action(Of T1),
case2Action As Action(Of T2),
case3Action As Action(Of T3),
case4Action As Action(Of T4)
)
F#
abstract Do :
case1Action : Action<'T1> *
case2Action : Action<'T2> *
case3Action : Action<'T3> *
case4Action : Action<'T4> -> unit
- case1Action
- Type: System.Action(T1)
Action for T1 - case2Action
- Type: System.Action(T2)
Action for T2 - case3Action
- Type: System.Action(T3)
Action for T3 - case4Action
- Type: System.Action(T4)
Action for T4