ContainsTagSpecification class

ContainsTagSpecification class

Represents a specification that checks whether the passed property contains the specified tag.

Inheritance: ContainsTagSpecificationSpecification

The ContainsTagSpecification type exposes the following members:

Constructors

Constructor Description
__init__(self, tag) Initializes a new instance of the ContainsTagSpecification class.

Properties

Property Description
tag Gets the tag a property must contain 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