Пример #1
0
 internal MimePartInfo(Charset charset, MimePartInfo.Callback writerCallback, MimePartContentType contentType, AttachmentId attachmentId, MimePart skeletonPart, MimeDocument skeleton, MimePart smimePart, MimeDocument smimeDocument, ref int partIndex)
 {
     this.charset        = charset;
     this.contentType    = contentType;
     this.writerCallback = writerCallback;
     this.partIndex      = partIndex++;
     this.attachmentId   = attachmentId;
     this.skeletonPart   = skeletonPart;
     this.skeleton       = skeleton;
     this.smimePart      = smimePart;
     this.smimeDocument  = smimeDocument;
     this.bodyLines      = -1;
     this.bodyBytes      = -1;
 }
Пример #2
0
 internal MimePartInfo(Charset charset, MimePartInfo.Callback writerCallback, MimePartContentType contentType, AttachmentId attachmentId, MimePart skeletonPart, MimeDocument skeleton, ref int partIndex) : this(charset, writerCallback, contentType, attachmentId, skeletonPart, skeleton, null, null, ref partIndex)
 {
 }
Пример #3
0
 public MimePartInfo(Charset charset, MimePartInfo.Callback writerCallback, MimePartContentType contentType, ref int partIndex) : this(charset, writerCallback, contentType, null, null, null, ref partIndex)
 {
     EnumValidator.ThrowIfInvalid <MimePartContentType>(contentType, "contentType");
 }