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
+27 -2
View File
@@ -1,5 +1,9 @@
namespace xCommons.Constants {
public enum XFileType {
using xExceptions.Attributes;
namespace xCommons.Constants
{
public enum XFileType
{
Image,
ProfileImasge,
CoverImage,
@@ -7,4 +11,25 @@ namespace xCommons.Constants {
Video,
Document
}
public enum XFileCategory
{
[StringValue("Document")]
Document = 100,
[StringValue("Archive")]
Archive = 200,
[StringValue("Internal")]
Internal = 300,
[StringValue("Video")]
Video = 400,
[StringValue("Audio")]
Audio = 500,
[StringValue("Image")]
Image = 600
}
}