Search Results for

    Show / Hide Table of Contents

    Class PgConverterFactory

    Inheritance
    object
    PgConverterFactory
    Namespace: Npgsql.Internal
    Assembly: Npgsql.dll
    Syntax
    public static class PgConverterFactory

    Methods

    | Improve this Doc View Source

    CreateArrayMultirangeConverter<T>(PgConverter<T>, PgSerializerOptions)

    Declaration
    public static PgConverter<T[]> CreateArrayMultirangeConverter<T>(PgConverter<T> rangeConverter, PgSerializerOptions options) where T : notnull
    Parameters
    Type Name Description
    PgConverter<T> rangeConverter
    PgSerializerOptions options
    Returns
    Type Description
    PgConverter<T[]>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    CreateListMultirangeConverter<T>(PgConverter<T>, PgSerializerOptions)

    Declaration
    public static PgConverter<List<T>> CreateListMultirangeConverter<T>(PgConverter<T> rangeConverter, PgSerializerOptions options) where T : notnull
    Parameters
    Type Name Description
    PgConverter<T> rangeConverter
    PgSerializerOptions options
    Returns
    Type Description
    PgConverter<List<><T>>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    CreatePolymorphicArrayConverter<TBase>(Func<PgConverter<TBase>>, Func<PgConverter<TBase>>, PgSerializerOptions)

    Declaration
    public static PgConverter<TBase> CreatePolymorphicArrayConverter<TBase>(Func<PgConverter<TBase>> arrayConverterFactory, Func<PgConverter<TBase>> nullableArrayConverterFactory, PgSerializerOptions options)
    Parameters
    Type Name Description
    Func<><PgConverter<TBase>> arrayConverterFactory
    Func<><PgConverter<TBase>> nullableArrayConverterFactory
    PgSerializerOptions options
    Returns
    Type Description
    PgConverter<TBase>
    Type Parameters
    Name Description
    TBase
    | Improve this Doc View Source

    CreateRangeConverter<T>(PgConverter<T>, PgSerializerOptions)

    Declaration
    public static PgConverter<NpgsqlRange<T>> CreateRangeConverter<T>(PgConverter<T> subTypeConverter, PgSerializerOptions options)
    Parameters
    Type Name Description
    PgConverter<T> subTypeConverter
    PgSerializerOptions options
    Returns
    Type Description
    PgConverter<NpgsqlRange<T>>
    Type Parameters
    Name Description
    T
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team