//protected void AddBrokenConstraint(BusinessConstraint businessConstraint) //{ // _brokenConstraints.Add(businessConstraint); //} protected void AddBrokenConstraint(BusinessConstraint businessConstraint, string constraintPath = null) { if (!string.IsNullOrEmpty(constraintPath)) { businessConstraint.ConstraintPath = (string.IsNullOrEmpty(businessConstraint.ConstraintPath)) ? constraintPath : $"{constraintPath}.{businessConstraint.ConstraintPath}"; } _brokenConstraints.Add(businessConstraint); }
protected void AddBrokenConstraint(BusinessConstraint businessConstraint, string constraintPath = null) => BrokenConstraints.AddBrokenConstraint(businessConstraint, constraintPath);