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