public CustomProxy() { Target = null; _handler = null; _proxy = new WeakLazy <T>(CreateNullProxy); }
public CustomProxy(T value) { _handler = _handler_lazy.GetValue(); Target = value ?? throw new ArgumentNullException(nameof(value)); _proxy = new WeakLazy <T>(CreateProxy); }