Ejemplo n.º 1
0
 /// <summary>
 /// Updates this entity with the multipart entity, updating headers and body as appropriate.
 /// </summary>
 /// <param name="entities">The mulitpart entity to update.</param>
 public void SetParts(MultipartEntity entities)
 {
     this.SetParts(entities, MimeSerializer.Default);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Updates this entity with the multipart entity, updating headers and body as appropriate,
 /// using a custom serializer
 /// </summary>
 /// <param name="entities">The mulitpart entity to update.</param>
 /// <param name="serializer">The serializer to use</param>
 public void SetParts(MultipartEntity entities, MimeSerializer serializer)
 {
     this.SetParts(entities, entities.ContentType.ToString(), serializer);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Updates this entity with the multipart entity, updating headers and body as appropriate.
 /// </summary>
 /// <param name="multipartEntity">The mulitpart entity to update.</param>
 public virtual void UpdateBody(MultipartEntity multipartEntity)
 {
     this.SetParts(multipartEntity);
 }