Search Results for

    Show / Hide Table of Contents

    Struct NpgsqlBox

    Represents a PostgreSQL box type.

    Implements
    IEquatable<NpgsqlBox>
    Inherited Members
    Object.Equals(Object, Object)
    Object.GetType()
    Object.ReferenceEquals(Object, Object)
    Namespace: NpgsqlTypes
    Assembly: Npgsql.dll
    Syntax
    public struct NpgsqlBox : IEquatable<NpgsqlBox>
    Remarks

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

    Constructors

    NpgsqlBox(NpgsqlPoint, NpgsqlPoint)

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

    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

    Properties

    Bottom

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

    Height

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

    IsEmpty

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

    Left

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

    LowerLeft

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

    Right

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

    Top

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

    UpperRight

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

    Width

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

    Methods

    Equals(NpgsqlBox)

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

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    Parse(String)

    Declaration
    public static NpgsqlBox Parse(string s)
    Parameters
    Type Name Description
    String s
    Returns
    Type Description
    NpgsqlBox

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    ValueType.ToString()

    Operators

    Equality(NpgsqlBox, NpgsqlBox)

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

    Inequality(NpgsqlBox, NpgsqlBox)

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

    Implements

    System.IEquatable<T>
    In This Article
    Back to top © Copyright 2022 The Npgsql Development Team