public ScreenshotAttachment(IAttachmentContent content) : this( AttachmentType.Default, content, "screenshot.jpg", "image/jpeg") { }
private ScreenshotAttachment( AttachmentType type, IAttachmentContent content, string fileName, string?contentType) : base(type, content, fileName, contentType) { }
/// <summary> /// Initializes an instance of <see cref="Attachment"/>. /// </summary> public Attachment( AttachmentType type, IAttachmentContent content, string fileName, string?contentType) { Type = type; Content = content; FileName = fileName; ContentType = contentType; }