Method MatchVoid
- Namespace
- SodaFlow.Functional
- Assembly
- SodaFlow.Functional.dll
MatchVoid(Action<T1>, Action<T2>, Action<T3>, Action<T4>, Action<T5>, Action<T6>)
Runs one of the six actions depending on which case is held.
public void MatchVoid(Action<T1> onFirst, Action<T2> onSecond, Action<T3> onThird, Action<T4> onFourth, Action<T5> onFifth, Action<T6> onSixth)
Parameters
onFirstAction<T1>Run with the value when the first case is held.
onSecondAction<T2>Run with the value when the second case is held.
onThirdAction<T3>Run with the value when the third case is held.
onFourthAction<T4>Run with the value when the fourth case is held.
onFifthAction<T5>Run with the value when the fifth case is held.
onSixthAction<T6>Run with the value when the sixth case is held.