Example #1
0
 internal P_DefaultHolder(IVh <CompiledLambdaExpressionCache> holder)
 {
     holder.EnsureNotNull(nameof(holder));
     //
     Holder = holder;
     Value  = holder.Value;
 }
Example #2
0
 public DisposableLazy(IVh <T> valueStore)
 {
     valueStore.EnsureNotNull(nameof(valueStore));
     //
     _identity    = null;
     _factory     = null;
     _valueHolder = valueStore;
 }