|
|
|
|
|
|
base.mount(parent, newSlot); |
|
|
|
this._children = Enumerable.Repeat((Element) null, this.widget.children.Count).ToList(); |
|
|
|
Element previousChild = null; |
|
|
|
for (int i = 0; i < this._children.Capacity; i += 1) { |
|
|
|
for (int i = 0; i < this._children.Count; i += 1) { |
|
|
|
this._children.Add(newChild); |
|
|
|
this._children[i] = newChild; |
|
|
|
previousChild = newChild; |
|
|
|
} |
|
|
|
} |
|
|
|