A way to create NSCompoundPredicates.
More...
NSCompoundPredicate (https://developer.apple.com/documentation/foundation/nscompoundpredicate) combines multiple subPredicates using AND, NOT, or OR.
|
CompoundPredicateType | predicateType |
| The logical type of compound Predicate.
|
|
List< Predicate > | subPredicates |
| The compound Predicate's subpredicates.
|
|
string | formatString |
| The predicate's format string.
|
|
|
| CompoundPredicate (CompoundPredicateType predicateType, List< Predicate > subPredicates) |
| Construct a Predicate with a logical type, and list of subpredicates.
|
|
override XElement | ToXML () |
| generates XML Element to convert the Predicate to an NSPredicate on the Obj-C side.
|
|
| Predicate (string format) |
| Construct a Predicate with a format string.
|
|
string | ToXMLString () |
| generates an XML string, to convert the Predicate to an NSPredicate on the Obj-C side.
|
|
◆ CompoundPredicate()
BeliefEngine.HealthKit.CompoundPredicate.CompoundPredicate |
( |
CompoundPredicateType | predicateType, |
|
|
List< Predicate > | subPredicates ) |
|
inline |
- Parameters
-
predicateType | the logical operator used to combine the subpredicates |
subPredicates | a list of predicates to combine |
◆ ToXML()
override XElement BeliefEngine.HealthKit.CompoundPredicate.ToXML |
( |
| ) |
|
|
inlinevirtual |