Table of Contents

Class ExportFile

Namespace
TwBlazor.Models
Assembly
TwBlazor.dll

A file a component exported, ready to save or send, such as the result of Export(string?, TextEditorExportFormat, string).

[ExcludeFromCodeCoverage]
public sealed class ExportFile
Inheritance
ExportFile
Inherited Members

Constructors

ExportFile()

public ExportFile()

Properties

Content

Gets the file's contents.

public required byte[] Content { get; init; }

Property Value

byte[]

ContentType

Gets the file's media type, such as text/markdown.

public required string ContentType { get; init; }

Property Value

string

FileName

Gets the file name, with its extension, such as notes.docx.

public required string FileName { get; init; }

Property Value

string