Add File Type and Detectors and Mime Type tools and Refactor Grouping ...
This commit is contained in:
+27
-2
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user