public void AppendToLastProperty(string propertyValue) { if (_properties.Count <= 0) { return; } MimePartProperty p = _properties[_properties.Count - 1]; p.PropertyValue = p.PropertyValue + propertyValue; _properties[_properties.Count - 1] = p; }
public void AddProperty(string propertyName, string propertyValue) { var mimePartProperty = new MimePartProperty { PropertyName = propertyName, PropertyValue = propertyValue }; _properties.Add(mimePartProperty); }