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