Struct NpgsqlBox
Represents a PostgreSQL box type.
Assembly: Npgsql.dll
Syntax
public struct NpgsqlBox : IEquatable<NpgsqlBox>
Constructors
NpgsqlBox(NpgsqlPoint, NpgsqlPoint)
Declaration
public NpgsqlBox(NpgsqlPoint upperRight, NpgsqlPoint lowerLeft)
Parameters
NpgsqlBox(Double, Double, Double, Double)
Declaration
public NpgsqlBox(double top, double right, double bottom, double left)
Parameters
Properties
Bottom
Declaration
public readonly double Bottom { get; }
Property Value
Height
Declaration
public readonly double Height { get; }
Property Value
IsEmpty
Declaration
public readonly bool IsEmpty { get; }
Property Value
Left
Declaration
public readonly double Left { get; }
Property Value
LowerLeft
Declaration
public NpgsqlPoint LowerLeft { readonly get; set; }
Property Value
Right
Declaration
public readonly double Right { get; }
Property Value
Top
Declaration
public readonly double Top { get; }
Property Value
UpperRight
Declaration
public NpgsqlPoint UpperRight { readonly get; set; }
Property Value
Width
Declaration
public readonly double Width { get; }
Property Value
Methods
Equals(NpgsqlBox)
Declaration
public bool Equals(NpgsqlBox other)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Parse(String)
Declaration
public static NpgsqlBox Parse(string s)
Parameters
Type |
Name |
Description |
String |
s |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
Equality(NpgsqlBox, NpgsqlBox)
Declaration
public static bool operator ==(NpgsqlBox x, NpgsqlBox y)
Parameters
Returns
Inequality(NpgsqlBox, NpgsqlBox)
Declaration
public static bool operator !=(NpgsqlBox x, NpgsqlBox y)
Parameters
Returns
Implements