Class PgResolverTypeInfo
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
PgSerializerOptionsconverterResolver
PgConverterResolverpgTypeId
PgTypeId?unboxedType
Type
Methods
GetConverterResolver()
public PgConverterResolver GetConverterResolver()
Returns
GetDefaultResolution(PgTypeId?)
public PgConverterResolution GetDefaultResolution(PgTypeId? expectedPgTypeId)
Parameters
expectedPgTypeId
PgTypeId?
Returns
GetResolution(Field)
public PgConverterResolution GetResolution(Field field)
Parameters
field
Field
Returns
GetResolutionAsObject(object?, PgTypeId?)
public PgConverterResolution? GetResolutionAsObject(object? value, PgTypeId? expectedPgTypeId)
Parameters
Returns
GetResolution<T>(T?, PgTypeId?)
public PgConverterResolution? GetResolution<T>(T? value, PgTypeId? expectedPgTypeId)
Parameters
value
TexpectedPgTypeId
PgTypeId?
Returns
Type Parameters
T