示例#1
0
 public void Inject(int index, string xml)
 {
     if (_containerBehaviour.Childrens.Count == 0)
     {
         _containerBehaviour.Inject(0, xml);
     }
     else
     {
         throw new Exception("Only one child is allowed");
     }
 }
示例#2
0
 public void Inject(int index, string xml)
 {
     ContainerBehaviour.Inject(index, xml);
 }