# Delegate TypeInfoFactory

Namespace
  Npgsql.Internal

Assembly
  Npgsql.dll

    public delegate PgTypeInfo TypeInfoFactory(PgSerializerOptions options, TypeInfoMapping mapping, bool resolvedDataTypeName)

#### Parameters

`options` PgSerializerOptions
`mapping` TypeInfoMapping
`resolvedDataTypeName` bool

  Signals whether a resolver based TypeInfo can keep its PgTypeId undecided or whether it should follow mapping.DataTypeName.

#### Returns

PgTypeInfo