示例#1
0
        public static ConstraintResult AddResult(Result item)
        {
            var myConstraint = new ConstraintResult();

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

            myConstraint.AddResultIf(condition, item);
            return(myConstraint);
        }