public override int ValidateAndGetLength(T value, ref NpgsqlLengthCache lengthCache, NpgsqlParameter parameter) { if (_wrappedHandler == null) { WrapHandler(); } Debug.Assert(_wrappedHandler != null); return(_wrappedHandler.ValidateAndGetLength(value, ref lengthCache, parameter)); }
public override int ValidateAndGetLength(T value, ref NpgsqlLengthCache lengthCache, NpgsqlParameter parameter) => _wrappedHandler.ValidateAndGetLength(value, ref lengthCache, parameter);