internal ConversionLimitsTracker(ConversionLimits limits)
 {
     this.limits         = limits;
     this.depth          = 0;
     this.bodyCounted    = false;
     this.partCount      = 0;
     this.recipientCount = 0;
 }
Пример #2
0
 public ConversionLimits(ConversionLimits origin)
 {
     this.maxMimeTextHeaderLength = origin.maxMimeTextHeaderLength;
     this.maxMimeSubjectLength    = origin.maxMimeSubjectLength;
     this.maxSize                     = origin.maxSize;
     this.maxMimeRecipients           = origin.maxMimeRecipients;
     this.maxBodyPartsTotal           = origin.maxBodyPartsTotal;
     this.maxEmbeddedMessageDepth     = origin.maxEmbeddedMessageDepth;
     this.exemptPFReplicationMessages = origin.exemptPFReplicationMessages;
     this.mimeLimits                  = origin.mimeLimits;
 }