Show / Hide Table of Contents

Struct NpgsqlRange<T>

Implements
IEquatable<NpgsqlRange<T>>
Namespace: NpgsqlTypes
Assembly: Npgsql.dll
Syntax
public struct NpgsqlRange<T> : IEquatable<NpgsqlRange<T>>
Type Parameters
Name Description
T

Constructors

NpgsqlRange(T, T)

Declaration
public NpgsqlRange(T lowerBound, T upperBound)
Parameters
Type Name Description
T lowerBound
T upperBound

NpgsqlRange(T, Boolean, T, Boolean)

Declaration
public NpgsqlRange(T lowerBound, bool lowerBoundIsInclusive, T upperBound, bool upperBoundIsInclusive)
Parameters
Type Name Description
T lowerBound
System.Boolean lowerBoundIsInclusive
T upperBound
System.Boolean upperBoundIsInclusive

NpgsqlRange(T, Boolean, Boolean, T, Boolean, Boolean)

Declaration
public NpgsqlRange(T lowerBound, bool lowerBoundIsInclusive, bool lowerBoundInfinite, T upperBound, bool upperBoundIsInclusive, bool upperBoundInfinite)
Parameters
Type Name Description
T lowerBound
System.Boolean lowerBoundIsInclusive
System.Boolean lowerBoundInfinite
T upperBound
System.Boolean upperBoundIsInclusive
System.Boolean upperBoundInfinite

Properties

Empty

Declaration
public static NpgsqlRange<T> Empty { get; }
Property Value
Type Description
NpgsqlRange<T>

IsEmpty

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

LowerBound

Declaration
public T LowerBound { get; }
Property Value
Type Description
T

LowerBoundInfinite

Declaration
public bool LowerBoundInfinite { get; }
Property Value
Type Description
System.Boolean

LowerBoundIsInclusive

Declaration
public bool LowerBoundIsInclusive { get; }
Property Value
Type Description
System.Boolean

UpperBound

Declaration
public T UpperBound { get; }
Property Value
Type Description
T

UpperBoundInfinite

Declaration
public bool UpperBoundInfinite { get; }
Property Value
Type Description
System.Boolean

UpperBoundIsInclusive

Declaration
public bool UpperBoundIsInclusive { get; }
Property Value
Type Description
System.Boolean

Methods

Equals(NpgsqlRange<T>)

Declaration
public bool Equals(NpgsqlRange<T> other)
Parameters
Type Name Description
NpgsqlRange<T> other
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object o)
Parameters
Type Name Description
System.Object o
Returns
Type Description
System.Boolean

GetHashCode()

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

ToString()

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

Operators

Equality(NpgsqlRange<T>, NpgsqlRange<T>)

Declaration
public static bool operator ==(NpgsqlRange<T> x, NpgsqlRange<T> y)
Parameters
Type Name Description
NpgsqlRange<T> x
NpgsqlRange<T> y
Returns
Type Description
System.Boolean

Inequality(NpgsqlRange<T>, NpgsqlRange<T>)

Declaration
public static bool operator !=(NpgsqlRange<T> x, NpgsqlRange<T> y)
Parameters
Type Name Description
NpgsqlRange<T> x
NpgsqlRange<T> y
Returns
Type Description
System.Boolean

Implements

IEquatable<>
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX