ConstraintValueUnion

PackageReified.Constraint
The closed set of operand and actual-value representations a constraint may carry across a description, diagnostic, or localization boundary.

Specification

Kind
Union
Members
28
Examples
0
IsCharSignature
this.IsChar
IsNullSignature
this.IsNull
IsBooleanSignature
this.IsBoolean
IsFloatSignature
this.IsFloat
IsFloat32Signature
this.IsFloat32

Summary

NameSignatureSynopsis
IsCharthis.IsCharNo description available.
IsNullthis.IsNullNo description available.
IsBooleanthis.IsBooleanNo description available.
IsFloatthis.IsFloatNo description available.
IsFloat32this.IsFloat32No description available.
IsDecimalthis.IsDecimalNo description available.
IsBigIntegerthis.IsBigIntegerNo description available.
IsDateTimethis.IsDateTimeNo description available.
IsListthis.IsListNo description available.
IsGuidthis.IsGuidNo description available.
IsDateTimeOffsetthis.IsDateTimeOffsetNo description available.
IsTimeSpanthis.IsTimeSpanNo description available.
IsIntegerthis.IsIntegerNo description available.
IsTextthis.IsTextNo description available.
TextText stringText.
CharChar charA single character.
IntegerInteger int64An integral value that fits a signed 64-bit integer.
BigIntegerBigInteger bigintAn arbitrary-width integer.
DecimalDecimal decimalAn exact base-10 value.
FloatFloat PortableFloatAn IEEE double, retained without passing through decimal.
Float32Float32 PortableFloat32An IEEE single, retained without passing through decimal.
BooleanBoolean boolA Boolean.
GuidGuid GuidA globally unique identifier, kept distinct from its textual spelling.
DateTimeDateTime DateTimeA date and time without an offset.
DateTimeOffsetDateTimeOffset DateTimeOffsetA date and time with an offset from UTC.
TimeSpanTimeSpan TimeSpanA duration.
NullNullAn absent reference.
ListList ConstraintValue listAn ordered collection of portable values.

IsChar

this.IsChar
Member

Returns

bool

IsNull

this.IsNull
Member

Returns

bool

IsBoolean

this.IsBoolean
Member

Returns

bool

IsFloat

this.IsFloat
Member

Returns

bool

IsFloat32

this.IsFloat32
Member

Returns

bool

IsDecimal

this.IsDecimal
Member

Returns

bool

IsBigInteger

this.IsBigInteger
Member

Returns

bool

IsDateTime

this.IsDateTime
Member

Returns

bool

IsList

this.IsList
Member

Returns

bool

IsGuid

this.IsGuid
Member

Returns

bool

IsDateTimeOffset

this.IsDateTimeOffset
Member

Returns

bool

IsTimeSpan

this.IsTimeSpan
Member

Returns

bool

IsInteger

this.IsInteger
Member

Returns

bool

IsText

this.IsText
Member

Returns

bool

Text

Text string
Member
Text.

Parameters

NameTypeDescription
Itemstring

Returns

unit

Char

Char char
Member
A single character.

Parameters

NameTypeDescription
Itemchar

Returns

unit

Integer

Integer int64
Member
An integral value that fits a signed 64-bit integer.

Parameters

NameTypeDescription
Itemint64

Returns

unit

BigInteger

BigInteger bigint
Member
An arbitrary-width integer.

Parameters

NameTypeDescription
Itembigint

Returns

unit

Decimal

Decimal decimal
Member
An exact base-10 value.

Parameters

NameTypeDescription
Itemdecimal

Returns

unit

Float

Float PortableFloat
Member
An IEEE double, retained without passing through decimal.

Parameters

NameTypeDescription
ItemPortableFloat

Returns

unit

Float32

Float32 PortableFloat32
Member
An IEEE single, retained without passing through decimal.

Parameters

NameTypeDescription
ItemPortableFloat32

Returns

unit

Boolean

Boolean bool
Member
A Boolean.

Parameters

NameTypeDescription
Itembool

Returns

unit

Guid

Guid Guid
Member
A globally unique identifier, kept distinct from its textual spelling.

Parameters

NameTypeDescription
ItemGuid

Returns

unit

DateTime

DateTime DateTime
Member
A date and time without an offset.

Parameters

NameTypeDescription
ItemDateTime

Returns

unit

DateTimeOffset

DateTimeOffset DateTimeOffset
Member
A date and time with an offset from UTC.

Parameters

NameTypeDescription
ItemDateTimeOffset

Returns

unit

TimeSpan

TimeSpan TimeSpan
Member
A duration.

Parameters

NameTypeDescription
ItemTimeSpan

Returns

unit

Null

Null
Member
An absent reference. Distinct from "no portable representation available".

Returns

unit

List

List ConstraintValue list
Member
An ordered collection of portable values.

Parameters

NameTypeDescription
ItemConstraintValue list

Returns

unit