Table of Contents

Class PgResolverTypeInfo

Namespace
Npgsql.Internal
Assembly
Npgsql.dll
public sealed class PgResolverTypeInfo : PgTypeInfo
Inheritance
PgResolverTypeInfo
Inherited Members

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