This commit is contained in:
2026-05-17 15:12:16 +07:00
parent 93da00c206
commit bf0ebe447d
902 changed files with 142169 additions and 31515 deletions

View File

@@ -0,0 +1,22 @@
using System;
namespace DA_Assets.Extensions
{
public static class EnumExtensions
{
public static bool Contains(this Enum value, string str)
{
return value.ToString().Contains(str);
}
public static string ToLower(this Enum value)
{
return value.ToString().ToLower();
}
public static string ToUpper(this Enum value)
{
return value.ToString().ToUpper();
}
}
}