Lazy<T>.CreateFrom(T,Boolean) Constructor
Namespace: Spring
public
constructor CreateFrom(const value: T; ownsObject: Boolean = False);
Parameters
- value
- Type: T
The initialized value.
- ownsObject
- Type: Boolean
If true the value - if any got created - will be destroyed when going out of scope. Only when T is a class type.