Class SupportAttachment
- Namespace
- Tharga.Team
- Assembly
- Tharga.Team.dll
A file carried by a support message, described by its sanitized name, declared type and size; the content is kept by Tharga.Team.ISupportAttachmentStore.
public record SupportAttachment : IEquatable<SupportAttachment>
- Inheritance
-
SupportAttachment
- Implements
- Inherited Members
Properties
ContentId
The mail part's Content-ID without angle brackets, which an HTML body names as cid:; otherwise null.
public string ContentId { get; init; }
Property Value
ContentType
The content type the sender declared, kept as data and never trusted to decide how the file is served.
public required string ContentType { get; init; }
Property Value
FileName
The sanitized file name, never empty and never carrying a path.
public required string FileName { get; init; }
Property Value
Id
The attachment's id within its case, assigned by the store.
public required string Id { get; init; }
Property Value
Inline
Whether the mail showed the file inside its body rather than as an attachment.
public bool Inline { get; init; }
Property Value
Size
The size of the stored content in bytes.
public required long Size { get; init; }