public IConstraint2 Create(
            Ir r,
            Is s,
            It t,
            Iψ ψ,
            IB B)
        {
            IConstraint2 constraint = null;

            try
            {
                constraint = new Constraint2(
                    r,
                    s,
                    t,
                    ψ,
                    B);
            }
            catch (Exception exception)
            {
                this.Log.Error(
                    exception.Message,
                    exception);
            }

            return(constraint);
        }
Ejemplo n.º 2
0
        public IConstraint2 Create(
            Iw w,
            IBEDS BEDS,
            ITPy y)
        {
            IConstraint2 constraint = null;

            try
            {
                constraint = new Constraint2(
                    w,
                    BEDS,
                    y);
            }
            catch (Exception exception)
            {
                this.Log.Error(
                    exception.Message,
                    exception);
            }

            return(constraint);
        }