internal DocumentPostprocessor(
     MimeConversionOptions options,
     IDocument document,
     Uri baseUri,
     IReadOnlyCollection <MimePartChunk> chunks, ILogger logger)
 {
     _options  = options;
     _document = document;
     _baseUri  = baseUri;
     _chunks   = chunks;
     _logger   = logger;
 }
示例#2
0
 public MhtmlParser(MimeConversionOptions options, ILogger logger)
 {
     _options = options;
     _logger  = logger;
 }
示例#3
0
 /// <param name="options">Conversion options</param>
 /// <param name="logger">Optional logger</param>
 public MimeConverter(MimeConversionOptions?options = null, ILogger?logger = null)
 {
     _logger  = logger ?? NullLogger.Instance;
     _options = options ?? new MimeConversionOptions();
 }