MembershipUnion

PackageReified.Constraint
What a membership rule expects.

Specification

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

Summary

NameSignatureSynopsis
IsNoneOfthis.IsNoneOfNo description available.
IsNotContainsthis.IsNotContainsNo description available.
IsOneOfthis.IsOneOfNo 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.

IsNoneOf

this.IsNoneOf
Member

Returns

bool

IsNotContains

this.IsNotContains
Member

Returns

bool

IsOneOf

this.IsOneOf
Member

Returns

bool

IsContains

this.IsContains
Member

Returns

bool

OneOf

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

Parameters

NameTypeDescription
choicesConstraintValue list

Returns

unit

NoneOf

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

Parameters

NameTypeDescription
choicesConstraintValue list

Returns

unit

Contains

Contains item
Member
The collection contains the supplied item.

Parameters

NameTypeDescription
itemConstraintValue

Returns

unit

NotContains

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

Parameters

NameTypeDescription
itemConstraintValue

Returns

unit