MembershipUnion

PackageReified.Constraint
What a membership rule expects.

Specification

Kind
Union
Members
8
Examples
0
IsNotContainsSignature
this.IsNotContains
IsOneOfSignature
this.IsOneOf
IsNoneOfSignature
this.IsNoneOf
IsContainsSignature
this.IsContains
OneOfSignature
OneOf choices

Summary

NameSignatureSynopsis
Union cases
IsNotContainsthis.IsNotContainsNo description available.
IsOneOfthis.IsOneOfNo description available.
IsNoneOfthis.IsNoneOfNo description available.
IsContainsthis.IsContainsNo description available.
OneOfOneOf choicesThe value equals one of the supplied choices.
NoneOfNoneOf choicesThe value equals none of the supplied choices.
ContainsContains itemThe collection contains the supplied item.
NotContainsNotContains itemThe collection does not contain the supplied item.

Union cases

kind:member

IsNotContains

this.IsNotContains
Member

Returns

bool
kind:member

IsOneOf

this.IsOneOf
Member

Returns

bool
kind:member

IsNoneOf

this.IsNoneOf
Member

Returns

bool
kind:member

IsContains

this.IsContains
Member

Returns

bool
kind:member

OneOf

OneOf choices
Member
The value equals one of the supplied choices.

Parameters

NameTypeDescription
choicesConstraintValue list

Returns

unit
kind:member

NoneOf

NoneOf choices
Member
The value equals none of the supplied choices.

Parameters

NameTypeDescription
choicesConstraintValue list

Returns

unit
kind:member

Contains

Contains item
Member
The collection contains the supplied item.

Parameters

NameTypeDescription
itemConstraintValue

Returns

unit
kind:member

NotContains

NotContains item
Member
The collection does not contain the supplied item.

Parameters

NameTypeDescription
itemConstraintValue

Returns

unit