public void Insert(int index, object obj) { if (_containerBehaviour.Childrens.Count == 0) { _containerBehaviour.Insert(0, obj); } else { throw new Exception("Only one child is allowed"); } }
public void Insert(int index, object obj) { ContainerBehaviour.Insert(index, obj); }