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); }
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); }
protected virtual MimeReader createMimeReader(MimeReader parent, byte[] data) { return(new MimeReader(parent, data)); }
protected virtual MimeReader createMimeReader(MimeReader parent, Queue <string> lines) { return(new MimeReader(parent, lines)); }