Пример #1
0
 private void AddChildEntity(MimeEntity entity, Queue<string> lines)
 {
     MimeReader reader = new MimeReader(entity, lines);
     entity.Children.Add(reader.CreateMimeEntity());
 }
Пример #2
0
        /// <summary>
        /// Adds the child entity.
        /// </summary>
        /// <param name="entity">The entity.</param>
        private void AddChildEntity(MimeEntity entity, Queue<string> lines)
        {
            /*if (entity == null)
            {
                return;
            }

            if (lines == null)
            {
                return;
            }*/

            MimeReader reader = new MimeReader(entity, lines);
            entity.Children.Add(reader.CreateMimeEntity());
        }