Show / Hide Table of Contents

Interface IRangeEndpoint<T>

Represents range endpoint.

Namespace: DotNext
Assembly: DotNext.dll
Syntax
public interface IRangeEndpoint<in T> where T : notnull
Type Parameters
Name Description
T

The type of the endpoint.

Properties

| Edit this page View Source

Infinity

Gets infinite endpoint.

Declaration
public static IRangeEndpoint<in T> Infinity { get; }
Property Value
Type Description
IRangeEndpoint<T>

Methods

| Edit this page View Source

IsOnLeft(T)

Checks whether the specified value is on the left side from this endpoint.

Declaration
bool IsOnLeft(T value)
Parameters
Type Name Description
T value

The value to check.

Returns
Type Description
bool

true if value is on the left side from this endpoint.

| Edit this page View Source

IsOnRight(T)

Checks whether the specified value is on the right side from this endpoint.

Declaration
bool IsOnRight(T value)
Parameters
Type Name Description
T value

The value to check.

Returns
Type Description
bool

true if value is on the right side from this endpoint.

Extension Methods

BasicExtensions.As<T>(T)
BasicExtensions.GetUserData<T>(T)
BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, ReadOnlySpan<T>)
ExpressionBuilder.Const<T>(T)
AsyncLockAcquisition.AcquireLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireLockAsync<T>(T, TimeSpan, CancellationToken)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, TimeSpan, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, bool, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, bool, TimeSpan, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, TimeSpan, CancellationToken)
LockAcquisition.AcquireReadLock<T>(T)
LockAcquisition.AcquireReadLock<T>(T, TimeSpan)
LockAcquisition.AcquireUpgradeableReadLock<T>(T)
LockAcquisition.AcquireUpgradeableReadLock<T>(T, TimeSpan)
LockAcquisition.AcquireWriteLock<T>(T)
LockAcquisition.AcquireWriteLock<T>(T, TimeSpan)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾