Exemple #1
0
        public IConstraints6 Create(
            ImmutableList <IConstraints6ConstraintElement> value)
        {
            IConstraints6 constraint = null;

            try
            {
                constraint = new Constraints6(
                    value);
            }
            catch (Exception exception)
            {
                this.Log.Error("Exception message: " + exception.Message + " and stacktrace " + exception.StackTrace);
            }

            return(constraint);
        }
Exemple #2
0
        public IConstraints6 Create(
            ImmutableList <IConstraints6ConstraintElement> value)
        {
            IConstraints6 constraint = null;

            try
            {
                constraint = new Constraints6(
                    value);
            }
            catch (Exception exception)
            {
                this.Log.Error(
                    exception.Message,
                    exception);
            }

            return(constraint);
        }