Table of Contents

Method MatchVoid

Namespace
SodaFlow.Functional
Assembly
SodaFlow.Functional.dll

MatchVoid(Action<T1>, Action<T2>, Action<T3>, Action<T4>, Action<T5>, Action<T6>, Action<T7>)

Runs one of the seven 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, Action<T7> onSeventh)

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.

onFourth Action<T4>

Run with the value when the fourth case is held.

onFifth Action<T5>

Run with the value when the fifth case is held.

onSixth Action<T6>

Run with the value when the sixth case is held.

onSeventh Action<T7>

Run with the value when the seventh case is held.