OrSpecification class

OrSpecification class

Represents a composite specification that uses the logical OR operator to combine two given search specifications.

Inheritance: OrSpecificationSpecification

The OrSpecification type exposes the following members:

Properties

Property Description
left Gets the left specification.
right Gets the right specification.

Methods

Method Description
is_satisfied_by(self, candidate) Verifies whether a MetadataProperty satisfies the specification.
both(self, other) Combines two search specifications using the logical AND operator.
either(self, other) Combines two search specifications using the logical OR operator.
is_not(self) Negates the specification.

See Also