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
Type |
Name |
Description |
System.Double |
top |
|
System.Double |
right |
|
System.Double |
bottom |
|
System.Double |
left |
|
Properties
Bottom
Declaration
public double Bottom { get; }
Property Value
Type |
Description |
System.Double |
|
Height
Declaration
public double Height { get; }
Property Value
Type |
Description |
System.Double |
|
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
Type |
Description |
System.Boolean |
|
Left
Declaration
public double Left { get; }
Property Value
Type |
Description |
System.Double |
|
LowerLeft
Declaration
public NpgsqlPoint LowerLeft { get; set; }
Property Value
Right
Declaration
public double Right { get; }
Property Value
Type |
Description |
System.Double |
|
Top
Declaration
public double Top { get; }
Property Value
Type |
Description |
System.Double |
|
UpperRight
Declaration
public NpgsqlPoint UpperRight { get; set; }
Property Value
Width
Declaration
public double Width { get; }
Property Value
Type |
Description |
System.Double |
|
Methods
Equals(NpgsqlBox)
Declaration
public bool Equals(NpgsqlBox other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Parse(String)
Declaration
public static NpgsqlBox Parse(string s)
Parameters
Type |
Name |
Description |
System.String |
s |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Operators
Equality(NpgsqlBox, NpgsqlBox)
Declaration
public static bool operator ==(NpgsqlBox x, NpgsqlBox y)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(NpgsqlBox, NpgsqlBox)
Declaration
public static bool operator !=(NpgsqlBox x, NpgsqlBox y)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
IEquatable<>