diff --git a/ICD.Common.Utils/EnumUtils.cs b/ICD.Common.Utils/EnumUtils.cs
index 461d7c7..de233ce 100644
--- a/ICD.Common.Utils/EnumUtils.cs
+++ b/ICD.Common.Utils/EnumUtils.cs
@@ -108,15 +108,31 @@ namespace ICD.Common.Utils
return cache as T[];
}
+ ///
+ /// Gets the values from an enumeration without performing any caching. This is slow because of reflection.
+ ///
+ ///
+ public static IEnumerable GetValues(Type type)
+ {
+ return GetValuesUncached(type).Cast();
+ }
+
///
/// Gets the values from an enumeration without performing any caching. This is slow because of reflection.
///
///
private static IEnumerable GetValuesUncached()
{
- Type type = typeof(T);
+ return GetValuesUncached(typeof(T)).Cast();
+ }
- if (!IsEnumType())
+ ///
+ /// Gets the values from an enumeration without performing any caching. This is slow because of reflection.
+ ///
+ ///
+ private static IEnumerable