Table of Contents

Property SupportedFileExtensions

Namespace
LMKit.Data
Assembly
LM-Kit.NET.dll

SupportedFileExtensions

Gets every file extension the toolkit accepts for ingestion, in canonical form: lowercase and dot-prefixed (for example ".pdf", ".docx", ".png").

public static IReadOnlyCollection<string> SupportedFileExtensions { get; }

Property Value

IReadOnlyCollection<string>

Remarks

This is the single registry behind IsSupportedFormat(string): a file name whose extension (compared case-insensitively) is a member of this collection passes the extension gate. The collection contains no duplicates.

Use this to build client-side validation that stays in lockstep with the toolkit - for example, filtering files before transferring them to a service that ingests content with this toolkit, instead of hardcoding a second extension list that drifts.

Share