Table of Contents

Method MatchVoid

Namespace
SodaFlow.Functional
Assembly
SodaFlow.Functional.dll

MatchVoid(Action<object?>, Action<object?>, Action<object?>, Action<object?>)

Runs one of the four actions depending on which case is held.

void MatchVoid(Action<object?> onFirst, Action<object?> onSecond, Action<object?> onThird, Action<object?> onFourth)

Parameters

onFirst Action<object>

Run with the value when the first case is held.

onSecond Action<object>

Run with the value when the second case is held.

onThird Action<object>

Run with the value when the third case is held.

onFourth Action<object>

Run with the value when the fourth case is held.