progress
This commit is contained in:
parent
16e76d6b31
commit
484dbfc9d9
529 changed files with 113694 additions and 0 deletions
13
AspClassic.Scripting/Utils/EnumBounds.cs
Normal file
13
AspClassic.Scripting/Utils/EnumBounds.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
namespace AspClassic.Scripting.Utils;
|
||||
|
||||
public static class EnumBounds
|
||||
{
|
||||
public static bool IsValid(this SourceCodeKind value)
|
||||
{
|
||||
if (value > SourceCodeKind.Unspecified)
|
||||
{
|
||||
return value <= SourceCodeKind.AutoDetect;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue