Class PgTypeInfo
- Namespace
- Npgsql.Internal
- Assembly
- Npgsql.dll
- Inheritance
-
PgTypeInfo
- Derived
-
- Inherited Members
-
Constructors
PgTypeInfo(PgSerializerOptions, PgConverter, PgTypeId, Type?)
public PgTypeInfo(PgSerializerOptions options, PgConverter converter, PgTypeId pgTypeId, Type? unboxedType = null)
Parameters
options
PgSerializerOptions
converter
PgConverter
pgTypeId
PgTypeId
unboxedType
Type
Properties
Options
public PgSerializerOptions Options { get; }
Property Value
- PgSerializerOptions
PgTypeId
public PgTypeId? PgTypeId { get; }
Property Value
- PgTypeId?
public DataFormat? PreferredFormat { get; init; }
Property Value
- DataFormat?
SupportsWriting
public bool SupportsWriting { get; init; }
Property Value
- bool
Type
public Type Type { get; }
Property Value
- Type
Methods
public BufferRequirements? GetBufferRequirements(PgConverter converter, DataFormat format)
Parameters
converter
PgConverter
format
DataFormat
Returns
- BufferRequirements?
GetObjectResolution(object?)
public PgConverterResolution GetObjectResolution(object? value)
Parameters
value
object
Returns
- PgConverterResolution
GetResolution<T>(T?)
public PgConverterResolution GetResolution<T>(T? value)
Parameters
value
T
Returns
- PgConverterResolution
Type Parameters
T