Struct NpgsqlBox
- Namespace
- NpgsqlTypes
- Assembly
- Npgsql.dll
Represents a PostgreSQL box type.
public struct NpgsqlBox : IEquatable<NpgsqlBox>
- Implements
- Inherited Members
Remarks
Constructors
NpgsqlBox(NpgsqlPoint, NpgsqlPoint)
public NpgsqlBox(NpgsqlPoint upperRight, NpgsqlPoint lowerLeft)
Parameters
upperRight
NpgsqlPointlowerLeft
NpgsqlPoint
NpgsqlBox(double, double, double, double)
public NpgsqlBox(double top, double right, double bottom, double left)
Parameters
Properties
Bottom
public double Bottom { get; }
Property Value
Height
public double Height { get; }
Property Value
IsEmpty
public bool IsEmpty { get; }
Property Value
Left
public double Left { get; }
Property Value
LowerLeft
public NpgsqlPoint LowerLeft { readonly get; set; }
Property Value
Right
public double Right { get; }
Property Value
Top
public double Top { get; }
Property Value
UpperRight
public NpgsqlPoint UpperRight { readonly get; set; }
Property Value
Width
public double Width { get; }
Property Value
Methods
Equals(NpgsqlBox)
public bool Equals(NpgsqlBox other)
Parameters
other
NpgsqlBox
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
Parse(string)
public static NpgsqlBox Parse(string s)
Parameters
s
string
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(NpgsqlBox, NpgsqlBox)
public static bool operator ==(NpgsqlBox x, NpgsqlBox y)
Parameters
Returns
operator !=(NpgsqlBox, NpgsqlBox)
public static bool operator !=(NpgsqlBox x, NpgsqlBox y)