WithNameSpecification class

WithNameSpecification class

Represents a specification that filters properties with a particular name.

Inheritance: WithNameSpecificationSpecification

The WithNameSpecification type exposes the following members:

Constructors

Constructor Description
__init__(self, property_name) Initializes a new instance of the WithNameSpecification class.
__init__(self, property_name, ignore_case) Initializes a new instance of the WithNameSpecification class.

Properties

Property Description
property_name Gets the name of properties that satisfy the specification.
ignore_case Gets a value indicating whether the case of the strings being compared should be ignored.

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