Пример #1
0
 public void AddInner([CanBeNull] DicED dic)
 {
     if (dic == null || dic.IsEmpty())
     {
         return;
     }
     if (!IsCorrectName(dic.Name))
     {
         throw new Exception("Invalid Name - " + dic.Name);
     }
     if (Inners == null)
     {
         Inners = new List <DicED>();
     }
     Inners.Add(dic);
 }
Пример #2
0
 public override void AddChild(Node child)
 {
     Inners.Add(child);
 }