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
IsSupported
Gets a value indicating whether the content type is supported or not.
public bool IsSupported { get; init; }
Property Value
MatchesExtension
Gets a value indicating whether the content type matches the file's extension.
public bool MatchesExtension { get; init; }