public virtual void SetContent(string contentType, byte[] content) { if (content != null && content.Length > 0) { Content = new AttachmentContent(contentType, content); } }
public virtual void SetContent(string contentType, byte[] content) { if (content != null && content.Length > 0) Content = new AttachmentContent(contentType, content); }