ViolationUnion

PackageReified.Constraint
Why a value failed its constraint.

Specification

Kind
Union
Members
6
Examples
0
IsAllSignature
this.IsAll
IsAnySignature
this.IsAny
IsAtomicSignature
this.IsAtomic
AtomicSignature
Atomic AtomicViolation
AllSignature
All(first, rest)

Summary

NameSignatureSynopsis
IsAllthis.IsAllNo description available.
IsAnythis.IsAnyNo description available.
IsAtomicthis.IsAtomicNo description available.
AtomicAtomic AtomicViolationOne indivisible failure.
AllAll(first, rest)Every listed failure occurred; the value failed several conjoined rules.
AnyAny(first, rest)No alternative succeeded; each listed failure is one rejected branch.

IsAll

this.IsAll
Member

Returns

bool

IsAny

this.IsAny
Member

Returns

bool

IsAtomic

this.IsAtomic
Member

Returns

bool

Atomic

Atomic AtomicViolation
Member
One indivisible failure.

Parameters

NameTypeDescription
ItemAtomicViolation

Returns

unit

All

All(first, rest)
Member
Every listed failure occurred; the value failed several conjoined rules.

Parameters

NameTypeDescription
firstViolation
restViolation list

Returns

unit

Any

Any(first, rest)
Member
No alternative succeeded; each listed failure is one rejected branch.

Parameters

NameTypeDescription
firstViolation
restViolation list

Returns

unit