//--------------------------------------------------------------------- public void Add(ITcpType value) { if (value == null) { throw new ArgumentNullException(nameof(value)); } AddChild(value); }
//--------------------------------------------------------------------- protected void AddChild(ITcpType child) { if (child == null) { throw new ArgumentNullException(nameof(child)); } _childs.Add(child); }