CxContractInterval

Description

sealed class Tinman.Core.Cx.Contract.CxContractInterval

Derived from

CxContract abstract

A value contract that restricts the value to a closed interval:

[Minimum..Maximum]

Public / Constructors

CxContractInterval


public constructor CxContractInterval → (2)

minimum in : CxContractExpression

[not-null]
See Minimum.

maximum in : CxContractExpression

[not-null]
See Maximum.

Creates a new instance of CxContractInterval.

Public / Attributes

Maximum


public attribute Maximum → (get)

value : CxContractExpression

[not-null]
The inclusive upper bound of the interval.

Returns the inclusive upper bound of the interval.

Minimum


public attribute Minimum → (get)

value : CxContractExpression

[not-null]
The inclusive lower bound of the interval.

Returns the inclusive lower bound of the interval.