FeatureConstraintEvaluationResults
public protocol FeatureConstraintEvaluationResults
The protocol for accessing information about the results of an evaluation
-
The type of constraint these results relate to. Constraints are based on
enum
s and they are not polymorphic, so we have to be generic over the type of the enum.Declaration
Swift
associatedtype ConstraintType : FeatureConstraint
-
All the constraint results, including those that are
.notActive
Declaration
Swift
var all: Set<FeatureConstraintResult<ConstraintType>> { get }
-
All the
.satisfied
constraint resultsDeclaration
Swift
var satisfied: Set<ConstraintType> { get }
-
All the
.notSatisfied
constraint resultsDeclaration
Swift
var notSatisfied: Set<ConstraintType> { get }
-
All the
.notDetermined
constraint resultsDeclaration
Swift
var notDetermined: Set<ConstraintType> { get }