Table of Contents

Method SwitchB

Namespace
SodaFlow
Assembly
SodaFlow.dll

SwitchB<T>(Behavior<Behavior<T>>)

Unwrap a behavior in a second behavior to give a time-varying behavior implementation.

public static Behavior<T> SwitchB<T>(this Behavior<Behavior<T>> bba)

Parameters

bba Behavior<Behavior<T>>

The behavior that holds a second behavior.

Returns

Behavior<T>

The unwrapped behavior.

Type Parameters

T

The type of the behavior.