A value holder is a generic object that handles the Lazy Loading behavior, and appears in place of the object’s data fields:
private ValueHolder<Widget> valueHolder;
public Widget MyWidget => valueHolder.GetValue();A value holder is a generic object that handles the Lazy Loading behavior, and appears in place of the object’s data fields:
private ValueHolder<Widget> valueHolder;
public Widget MyWidget => valueHolder.GetValue();