Table of Contents

Class FileContentTypeResult

Namespace
FoundationaLLM.Common.Models.Files
Assembly
FoundationaLLM.Common.dll

Represents the result of determining the content type for a file, including the detected MIME type and whether it matches the file's extension.

public class FileContentTypeResult
Inheritance
FileContentTypeResult
Inherited Members
Extension Methods

Properties

ContentType

Gets the content type of the file.

public required string ContentType { get; init; }

Property Value

string

IsSupported

Gets a value indicating whether the content type is supported or not.

public bool IsSupported { get; init; }

Property Value

bool

MatchesExtension

Gets a value indicating whether the content type matches the file's extension.

public bool MatchesExtension { get; init; }

Property Value

bool