Ejemplo n.º 1
0
        public override void makeClonned(int maxKnot, string cloneValue)
        {
            string max1 = maxKnot.ToString();
            string max2 = (maxKnot + 1).ToString();

            string[] clonnedKnots = { max1, knots[1], max2, knots[3] };
            string[] cloneKnots   = { knots[0], max1, knots[2], max2 };
            HI       clonned      = new HI(name + clonnedSuffix, clonnedKnots, value);
            HI       clone        = new HI(name, cloneKnots, cloneValue);

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