refactor: make isenumtype public for use in other classes

This commit is contained in:
Jack Kanarish
2018-12-17 09:34:37 -05:00
parent efb5e014ec
commit 1076795fae

View File

@@ -40,7 +40,7 @@ namespace ICD.Common.Utils
/// Returns true if the given type is an enum. /// Returns true if the given type is an enum.
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
private static bool IsEnumType(Type type) public static bool IsEnumType(Type type)
{ {
if (type == null) if (type == null)
throw new ArgumentNullException("type"); throw new ArgumentNullException("type");