public static ConstraintResult AddResult(Result item) { var myConstraint = new ConstraintResult(); myConstraint.AddResult(item); return(myConstraint); }
public static ConstraintResult AddResultIf(bool condition, Result item) { var myConstraint = new ConstraintResult(); myConstraint.AddResultIf(condition, item); return(myConstraint); }