Add File Type and Detectors and Mime Type tools and Refactor Grouping ...

This commit is contained in:
2026-10-23 00:14:00 +03:30
parent caeb6ae7f3
commit 6f6ba825d6
14 changed files with 1427 additions and 8 deletions
+25
View File
@@ -0,0 +1,25 @@
using xExceptions.Attributes;
namespace xCommons.Constants
{
/// <summary>
/// File Type Detection Source ...
/// </summary>
public enum XFileTypeDetectionSource
{
[StringValue("None")]
None = 0,
[StringValue("MagicBytes")]
MagicBytes = 1,
[StringValue("Extension")]
Extension = 2,
[StringValue("ProvidedMime")]
ProvidedMime = 3,
[StringValue("Fallback")]
Fallback = 4
}
}