示例#1
0
        /// <summary>
        /// Присоединение заданной информации о подпредложении
        /// </summary>
        /// <param name="subSentenceInfo">информация о подпредложении</param>
        public void Append(SubSentenceInfo subSentenceInfo)
        {
            Participles.AddRange(subSentenceInfo.Participles);
            Verbs.AddRange(subSentenceInfo.Verbs);
            AddChildrenSubSentences(subSentenceInfo.Childs);

            SubSentence.SetUnits(SubSentence.Units.Union(subSentenceInfo.SubSentence.Units));
            SubSentence.AppendSubSentences(subSentenceInfo.SubSentence.Children);
        }