Table of Contents

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

Stream

ContentId

The mail part's Content-ID; always null for a file uploaded on the site.

public string ContentId { get; init; }

Property Value

string

ContentType

The content type as the sender declared it; it is kept as data only.

public required string ContentType { get; init; }

Property Value

string

FileName

The file name as the sender gave it; it is sanitized before it is kept.

public required string FileName { get; init; }

Property Value

string

Inline

Whether the mail showed the file inside its body; always false for a file uploaded on the site.

public bool Inline { get; init; }

Property Value

bool