//---------------------------------------------------------------------
        public void Add(ITcpType value)
        {
            if (value == null)
            {
                throw new ArgumentNullException(nameof(value));
            }

            AddChild(value);
        }
예제 #2
0
        //---------------------------------------------------------------------
        protected void AddChild(ITcpType child)
        {
            if (child == null)
            {
                throw new ArgumentNullException(nameof(child));
            }

            _childs.Add(child);
        }