Search Results for

    Show / Hide Table of Contents

    Class DynamicTypeInfoResolver

    Inheritance
    object
    DynamicTypeInfoResolver
    Implements
    IPgTypeInfoResolver
    Namespace: Npgsql.Internal
    Assembly: Npgsql.dll
    Syntax
    public abstract class DynamicTypeInfoResolver : IPgTypeInfoResolver

    Methods

    | Improve this Doc View Source

    CreateCollection(TypeInfoMappingCollection?)

    Declaration
    protected DynamicTypeInfoResolver.DynamicMappingCollection CreateCollection(TypeInfoMappingCollection? baseCollection = null)
    Parameters
    Type Name Description
    TypeInfoMappingCollection baseCollection
    Returns
    Type Description
    DynamicTypeInfoResolver.DynamicMappingCollection
    | Improve this Doc View Source

    GetMappings(Type?, DataTypeName, PgSerializerOptions)

    Declaration
    protected abstract DynamicTypeInfoResolver.DynamicMappingCollection? GetMappings(Type? type, DataTypeName dataTypeName, PgSerializerOptions options)
    Parameters
    Type Name Description
    Type? type
    DataTypeName dataTypeName
    PgSerializerOptions options
    Returns
    Type Description
    DynamicTypeInfoResolver.DynamicMappingCollection
    | Improve this Doc View Source

    GetTypeInfo(Type?, DataTypeName?, PgSerializerOptions)

    Declaration
    public PgTypeInfo? GetTypeInfo(Type? type, DataTypeName? dataTypeName, PgSerializerOptions options)
    Parameters
    Type Name Description
    Type? type
    DataTypeName? dataTypeName
    PgSerializerOptions options
    Returns
    Type Description
    PgTypeInfo
    | Improve this Doc View Source

    IsArrayDataTypeName(DataTypeName, PgSerializerOptions, out DataTypeName)

    Declaration
    protected static bool IsArrayDataTypeName(DataTypeName dataTypeName, PgSerializerOptions options, out DataTypeName elementDataTypeName)
    Parameters
    Type Name Description
    DataTypeName dataTypeName
    PgSerializerOptions options
    DataTypeName elementDataTypeName
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    IsArrayLikeType(Type, out Type?)

    Declaration
    protected static bool IsArrayLikeType(Type type, out Type? elementType)
    Parameters
    Type Name Description
    Type type
    Type? elementType
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    IsTypeOrNullableOfType(Type, Func<Type, bool>, out Type)

    Declaration
    protected static bool IsTypeOrNullableOfType(Type type, Func<Type, bool> predicate, out Type matchedType)
    Parameters
    Type Name Description
    Type type
    Func<, ><Type, bool> predicate
    Type matchedType
    Returns
    Type Description
    bool

    Implements

    IPgTypeInfoResolver
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team