FallsIntoCategorySpecification class

FallsIntoCategorySpecification class

Represents a specification that verifies whether the passed property falls into a particular category (i.e. contains tags from the specified category).

Inheritance: FallsIntoCategorySpecificationSpecification

The FallsIntoCategorySpecification type exposes the following members:

Constructors

Constructor Description
__init__(self, category) Initializes a new instance of the FallsIntoCategorySpecification class.

Properties

Property Description
category Gets the category into which a property must fall to satisfy the 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