Table of Contents

Class LazyT<T>

Namespace
SunamoShared.Lazy
Assembly
SunamoShared.dll

Generic lazy-loaded value using a settings retrieval function.

public class LazyT<T>

Type Parameters

T

The type of the lazy value.

Inheritance
LazyT<T>
Derived
Inherited Members
Extension Methods

Constructors

LazyT(Func<string, bool, T>, string)

Initializes a new instance with the retrieval function and key.

public LazyT(Func<string, bool, T> getCommonSettings, string key)

Parameters

getCommonSettings Func<string, bool, T>

The function to retrieve settings.

key string

The settings key.

Properties

Value

Gets the lazily-loaded value, retrieving it on first access.

public T Value { get; }

Property Value

T