internal static void Encode(StringBuilder builder, BodyPartCollection parts) { if (parts == null || parts.Count == 0) { builder.Append("NIL"); return; } for (int i = 0; i < parts.Count; i++) { if (i > 0) { builder.Append(' '); } Encode(builder, parts[i]); } }
/// <summary> /// Initializes a new instance of the <see cref="MailKit.BodyPartMultipart"/> class. /// </summary> /// <remarks> /// Creates a new <see cref="BodyPartMultipart"/>. /// </remarks> public BodyPartMultipart() { BodyParts = new BodyPartCollection(); }
internal BodyPartMultipart() { BodyParts = new BodyPartCollection(); }