Esempio n. 1
0
 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");
     }
 }
Esempio n. 2
0
 public void Insert(int index, object obj)
 {
     ContainerBehaviour.Insert(index, obj);
 }