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 SourceInfinity
Gets infinite endpoint.
Declaration
public static IRangeEndpoint<in T> Infinity { get; }
Property Value
| Type | Description |
|---|---|
| IRangeEndpoint<T> |
Methods
| Edit this page View SourceIsOnLeft(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 |
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 |