Table of Contents

Delegate TypeInfoFactory

Namespace
Npgsql.Internal
Assembly
Npgsql.dll
public delegate PgTypeInfo TypeInfoFactory(PgSerializerOptions options, TypeInfoMapping mapping, bool requiresDataTypeName)

Parameters

options PgSerializerOptions
mapping TypeInfoMapping
requiresDataTypeName bool

Relevant for PgResolverTypeInfo only: whether the instance can be constructed without passing mapping.DataTypeName, an exception occurs otherwise.

Returns

PgTypeInfo