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 http://www.postgresql.org/docs/current/static/datatype-geometric.html

    Constructors

    | Improve this Doc

    NpgsqlBox(NpgsqlPoint, NpgsqlPoint)

    Declaration
    public NpgsqlBox(NpgsqlPoint upperRight, NpgsqlPoint lowerLeft)
    Parameters
    Type Name Description
    NpgsqlPoint upperRight
    NpgsqlPoint lowerLeft
    | Improve this Doc

    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

    | Improve this Doc

    Bottom

    Declaration
    public readonly double Bottom { get; }
    Property Value
    Type Description
    Double
    | Improve this Doc

    Height

    Declaration
    public readonly double Height { get; }
    Property Value
    Type Description
    Double
    | Improve this Doc

    IsEmpty

    Declaration
    public readonly bool IsEmpty { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc

    Left

    Declaration
    public readonly double Left { get; }
    Property Value
    Type Description
    Double
    | Improve this Doc

    LowerLeft

    Declaration
    public NpgsqlPoint LowerLeft { readonly get; set; }
    Property Value
    Type Description
    NpgsqlPoint
    | Improve this Doc

    Right

    Declaration
    public readonly double Right { get; }
    Property Value
    Type Description
    Double
    | Improve this Doc

    Top

    Declaration
    public readonly double Top { get; }
    Property Value
    Type Description
    Double
    | Improve this Doc

    UpperRight

    Declaration
    public NpgsqlPoint UpperRight { readonly get; set; }
    Property Value
    Type Description
    NpgsqlPoint
    | Improve this Doc

    Width

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

    Methods

    | Improve this Doc

    Equals(NpgsqlBox)

    Declaration
    public bool Equals(NpgsqlBox other)
    Parameters
    Type Name Description
    NpgsqlBox other
    Returns
    Type Description
    Boolean
    | Improve this Doc

    Equals(Object)

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

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()
    | Improve this Doc

    Parse(String)

    Declaration
    public static NpgsqlBox Parse(string s)
    Parameters
    Type Name Description
    String s
    Returns
    Type Description
    NpgsqlBox
    | Improve this Doc

    ToString()

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

    Operators

    | Improve this Doc

    Equality(NpgsqlBox, NpgsqlBox)

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

    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>
    • Improve this Doc
    In This Article
    Back to top © Copyright 2021 The Npgsql Development Team