Constructor LazyStruct
LazyStruct(Func<T>)
Initializes a new instance of the LazyStruct<T> class.
public LazyStruct(Func<T> valueFactory)
Parameters
valueFactory
Func<T>Functions which is called in order to create value. Optional. If not specified, default constructor for the
T
is used.