/// <summary> /// Adds the specified URI. /// </summary> /// <param name="uri">The URI.</param> /// <param name="contentType">Type of the content.</param> /// <param name="contentEncoding">The content encoding.</param> /// <param name="text">The text.</param> public void Add(string uri, string contentType, string contentEncoding, string text) { Add(MhtmlPartBase.Create(uri, contentType, contentEncoding), text); }
/// <summary> /// Adds the specified URI. /// </summary> /// <param name="uri">The URI.</param> /// <param name="contentType">Type of the content.</param> /// <param name="contentEncoding">The content encoding.</param> /// <param name="stream">The stream.</param> public void Add(string uri, string contentType, string contentEncoding, Stream stream) { Add(MhtmlPartBase.Create(uri, contentType, contentEncoding), stream); }