public IConstraints2ConstraintElement Create( IrIndexElement rIndexElement, ItIndexElement tIndexElement, Is s, Iγ γ, IxHat xHat) { IConstraints2ConstraintElement constraintElement = null; try { constraintElement = new Constraints2ConstraintElement( rIndexElement, tIndexElement, s, γ, xHat); } catch (Exception exception) { this.Log.Error("Exception message: " + exception.Message + " and stacktrace " + exception.StackTrace); } return(constraintElement); }
public IConstraints2ConstraintElement Create( IsIndexElement sIndexElement, Ir r, IB B, Ib b) { IConstraints2ConstraintElement constraintElement = null; try { constraintElement = new Constraints2ConstraintElement( sIndexElement, r, B, b); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(constraintElement); }