Class PgConverterFactory
public static class PgConverterFactory
- Inheritance
-
PgConverterFactory
- Inherited Members
Methods
CreateArrayMultirangeConverter<T>(PgConverter<T>, PgSerializerOptions)
public static PgConverter<T[]> CreateArrayMultirangeConverter<T>(PgConverter<T> rangeConverter, PgSerializerOptions options) where T : notnull
Parameters
rangeConverter
PgConverter<T>options
PgSerializerOptions
Returns
- PgConverter<T[]>
Type Parameters
T
CreateListMultirangeConverter<T>(PgConverter<T>, PgSerializerOptions)
public static PgConverter<List<T>> CreateListMultirangeConverter<T>(PgConverter<T> rangeConverter, PgSerializerOptions options) where T : notnull
Parameters
rangeConverter
PgConverter<T>options
PgSerializerOptions
Returns
- PgConverter<List<T>>
Type Parameters
T
CreatePolymorphicArrayConverter<TBase>(Func<PgConverter<TBase>>, Func<PgConverter<TBase>>, PgSerializerOptions)
public static PgConverter<TBase> CreatePolymorphicArrayConverter<TBase>(Func<PgConverter<TBase>> arrayConverterFactory, Func<PgConverter<TBase>> nullableArrayConverterFactory, PgSerializerOptions options)
Parameters
arrayConverterFactory
Func<PgConverter<TBase>>nullableArrayConverterFactory
Func<PgConverter<TBase>>options
PgSerializerOptions
Returns
- PgConverter<TBase>
Type Parameters
TBase
CreateRangeConverter<T>(PgConverter<T>, PgSerializerOptions)
public static PgConverter<NpgsqlRange<T>> CreateRangeConverter<T>(PgConverter<T> subTypeConverter, PgSerializerOptions options)
Parameters
subTypeConverter
PgConverter<T>options
PgSerializerOptions
Returns
Type Parameters
T