Class SupportAttachmentUpload
- Namespace
- Tharga.Team
- Assembly
- Tharga.Team.dll
A file to attach to a support message, read once from Content, which the caller disposes after the call.
public record SupportAttachmentUpload : IEquatable<SupportAttachmentUpload>
- Inheritance
-
SupportAttachmentUpload
- Implements
- Inherited Members
Properties
Content
The content, read from its current position and measured against the limits as it is read.
public required Stream Content { get; init; }
Property Value
ContentId
The mail part's Content-ID; always null for a file uploaded on the site.
public string ContentId { get; init; }
Property Value
ContentType
The content type as the sender declared it; it is kept as data only.
public required string ContentType { get; init; }
Property Value
FileName
The file name as the sender gave it; it is sanitized before it is kept.
public required string FileName { get; init; }
Property Value
Inline
Whether the mail showed the file inside its body; always false for a file uploaded on the site.
public bool Inline { get; init; }