Search Results for

    Show / Hide Table of Contents

    Struct NpgsqlBox

    Represents a PostgreSQL box type.

    Implements
    IEquatable<><NpgsqlBox>
    Namespace: NpgsqlTypes
    Assembly: Npgsql.dll
    Syntax
    public struct NpgsqlBox : IEquatable<NpgsqlBox>
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    Constructors

    | Improve this Doc View Source

    NpgsqlBox(NpgsqlPoint, NpgsqlPoint)

    Declaration
    public NpgsqlBox(NpgsqlPoint upperRight, NpgsqlPoint lowerLeft)
    Parameters
    Type Name Description
    NpgsqlPoint upperRight
    NpgsqlPoint lowerLeft
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    | Improve this Doc View Source

    NpgsqlBox(double, double, double, double)

    Declaration
    public NpgsqlBox(double top, double right, double bottom, double left)
    Parameters
    Type Name Description
    double top
    double right
    double bottom
    double left
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    Properties

    | Improve this Doc View Source

    Bottom

    Declaration
    public double Bottom { get; }
    Property Value
    Type Description
    double
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    | Improve this Doc View Source

    Height

    Declaration
    public double Height { get; }
    Property Value
    Type Description
    double
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    | Improve this Doc View Source

    IsEmpty

    Declaration
    public bool IsEmpty { get; }
    Property Value
    Type Description
    bool
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    | Improve this Doc View Source

    Left

    Declaration
    public double Left { get; }
    Property Value
    Type Description
    double
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    | Improve this Doc View Source

    LowerLeft

    Declaration
    public NpgsqlPoint LowerLeft { readonly get; set; }
    Property Value
    Type Description
    NpgsqlPoint
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    | Improve this Doc View Source

    Right

    Declaration
    public double Right { get; }
    Property Value
    Type Description
    double
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    | Improve this Doc View Source

    Top

    Declaration
    public double Top { get; }
    Property Value
    Type Description
    double
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    | Improve this Doc View Source

    UpperRight

    Declaration
    public NpgsqlPoint UpperRight { readonly get; set; }
    Property Value
    Type Description
    NpgsqlPoint
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    | Improve this Doc View Source

    Width

    Declaration
    public double Width { get; }
    Property Value
    Type Description
    double
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    Methods

    | Improve this Doc View Source

    Equals(NpgsqlBox)

    Declaration
    public bool Equals(NpgsqlBox other)
    Parameters
    Type Name Description
    NpgsqlBox other
    Returns
    Type Description
    bool
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    | Improve this Doc View Source

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object? obj
    Returns
    Type Description
    bool
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    Operators

    | Improve this Doc View Source

    operator ==(NpgsqlBox, NpgsqlBox)

    Declaration
    public static bool operator ==(NpgsqlBox x, NpgsqlBox y)
    Parameters
    Type Name Description
    NpgsqlBox x
    NpgsqlBox y
    Returns
    Type Description
    bool
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    | Improve this Doc View Source

    operator !=(NpgsqlBox, NpgsqlBox)

    Declaration
    public static bool operator !=(NpgsqlBox x, NpgsqlBox y)
    Parameters
    Type Name Description
    NpgsqlBox x
    NpgsqlBox y
    Returns
    Type Description
    bool
    Remarks

    See https://www.postgresql.org/docs/current/static/datatype-geometric.html

    Implements

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