Table of Contents

Method MatchVoid

Namespace
SodaFlow.Functional
Assembly
SodaFlow.Functional.dll

MatchVoid(Action<T1>, Action<T2>, Action<T3>)

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

public void MatchVoid(Action<T1> onFirst, Action<T2> onSecond, Action<T3> onThird)

Parameters

onFirst Action<T1>

Run with the value when the first case is held.

onSecond Action<T2>

Run with the value when the second case is held.

onThird Action<T3>

Run with the value when the third case is held.