Table of Contents

Method ConstantLazy

Namespace
SodaFlow
Assembly
SodaFlow.dll

ConstantLazy<T>(Lazy<T>)

Creates a behavior with a lazily computed constant value.

public static Behavior<T> ConstantLazy<T>(Lazy<T> value)

Parameters

value Lazy<T>

The lazily computed value of the behavior.

Returns

Behavior<T>

A behavior with a lazily computed constant value.

Type Parameters

T

The type of the value of the behavior.