Class ClipboardFile
An image or file on the clipboard, to send.
Implements
Inherited Members
Namespace: Uniform.Chat.Avalonia
Assembly: Uniform.Chat.Avalonia.dll
Syntax
public sealed record ClipboardFile : IEquatable<ClipboardFile>
Constructors
| Edit this page View SourceClipboardFile(Stream, string)
An image or file on the clipboard, to send.
Declaration
public ClipboardFile(Stream Content, string FileName)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | Content | Its bytes; the receiver disposes it. |
| string | FileName | Its name, e.g. |
Properties
| Edit this page View SourceContent
Its bytes; the receiver disposes it.
Declaration
public Stream Content { get; init; }
Property Value
| Type | Description |
|---|---|
| Stream |
FileName
Its name, e.g. image.png.
Declaration
public string FileName { get; init; }
Property Value
| Type | Description |
|---|---|
| string |