Esempio n. 1
0
        protected MimeReader(MimeReader parent, byte[] data)
        {
            if (parent == null)
            {
                throw new ArgumentNullException("parent");
            }
            if (data == null)
            {
                throw new ArgumentNullException("data");
            }

            _parent        = parent;
            _startBoundary = parent.StartBoundary;
            CreateMimeReader(data);
        }
Esempio n. 2
0
        protected MimeReader(MimeReader parent, Queue <string> lines)
        {
            if (parent == null)
            {
                throw new ArgumentNullException("parent");
            }
            if (lines == null)
            {
                throw new ArgumentNullException("lines");
            }

            _parent        = parent;
            _startBoundary = parent.StartBoundary;
            CreateMimeReader(lines);
        }
Esempio n. 3
0
 protected virtual MimeReader createMimeReader(MimeReader parent, byte[] data)
 {
     return(new MimeReader(parent, data));
 }
Esempio n. 4
0
 protected virtual MimeReader createMimeReader(MimeReader parent, Queue <string> lines)
 {
     return(new MimeReader(parent, lines));
 }