Lazy<T> constructor

Lazy<T>(
  1. InitFunction<T> function
)

during the initialization, the function specified here gets used and creates the value.

Implementation

Lazy(InitFunction<T> function) : _factory = function;