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); }
public override void AddChild(Node child) { Inners.Add(child); }