public override void makeClonned(int maxKnot, string cloneValue) { string max = maxKnot.ToString(); string[] clonnedKnots = { knots[0], knots[1], max, knots[3] }; string[] cloneKnots = { knots[0], knots[1], knots[2], max }; BI clonned = new BI(name + clonnedSuffix, clonnedKnots, value); BI clone = new BI(name, cloneKnots, cloneValue); cloneElement = clone; clonnedElements = new List <Element>() { clonned, clone }; }
public override void makeClonned(int maxKnot, string cloneValue) { string max = maxKnot.ToString(); string[] clonnedKnots = { knots[0], knots[1], max, knots[3] }; string[] cloneKnots = { knots[0], knots[1], knots[2], max }; BI clonned = new BI(name + clonnedSuffix, clonnedKnots, value); BI clone = new BI(name, cloneKnots, cloneValue); cloneElement = clone; clonnedElements = new List<Element>() { clonned, clone }; }
public BI(BI element) : base(element) { }