# Class PgResolverTypeInfo

Namespace
  Npgsql.Internal

Assembly
  Npgsql.dll

    public sealed class PgResolverTypeInfo : PgTypeInfo

Inheritance
  object
  PgTypeInfo
  PgResolverTypeInfo

Inherited Members
  PgTypeInfo.Type
  PgTypeInfo.Options
  PgTypeInfo.SupportsWriting
  PgTypeInfo.PreferredFormat
  PgTypeInfo.PgTypeId
  PgTypeInfo.GetResolution<T>(T)
  PgTypeInfo.GetObjectResolution(object)
  PgTypeInfo.GetBufferRequirements(PgConverter, DataFormat)
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.ReferenceEquals(object, object)
  object.ToString()

## Constructors

### PgResolverTypeInfo(PgSerializerOptions, PgConverterResolver, PgTypeId?, Type?)

    public PgResolverTypeInfo(PgSerializerOptions options, PgConverterResolver converterResolver, PgTypeId? pgTypeId, Type? unboxedType = null)

#### Parameters

`options` PgSerializerOptions
`converterResolver` PgConverterResolver
`pgTypeId` PgTypeId?
`unboxedType` Type

## Methods

### GetConverterResolver()

    public PgConverterResolver GetConverterResolver()

#### Returns

PgConverterResolver

### GetDefaultResolution(PgTypeId?)

    public PgConverterResolution GetDefaultResolution(PgTypeId? expectedPgTypeId)

#### Parameters

`expectedPgTypeId` PgTypeId?

#### Returns

PgConverterResolution

### GetResolution(Field)

    public PgConverterResolution GetResolution(Field field)

#### Parameters

`field` Field

#### Returns

PgConverterResolution

### GetResolutionAsObject(object?, PgTypeId?)

    public PgConverterResolution? GetResolutionAsObject(object? value, PgTypeId? expectedPgTypeId)

#### Parameters

`value` object
`expectedPgTypeId` PgTypeId?

#### Returns

PgConverterResolution?

### GetResolution<T>(T?, PgTypeId?)

    public PgConverterResolution? GetResolution<T>(T? value, PgTypeId? expectedPgTypeId)

#### Parameters

`value` T
`expectedPgTypeId` PgTypeId?

#### Returns

PgConverterResolution?

#### Type Parameters

`T`