Table of Contents

Class SupportAttachmentContent

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

An opened attachment: its metadata and a stream over its content, which the caller disposes.

public sealed class SupportAttachmentContent : IDisposable, IAsyncDisposable
Inheritance
SupportAttachmentContent
Implements
Inherited Members

Properties

Attachment

What the attachment is.

public required SupportAttachment Attachment { get; init; }

Property Value

SupportAttachment

Content

The stored content, readable once from the start.

public required Stream Content { get; init; }

Property Value

Stream

Methods

Dispose()

Releases the content stream.

public void Dispose()

DisposeAsync()

Releases the content stream.

public ValueTask DisposeAsync()

Returns

ValueTask