mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 13:15:07 +00:00
refactor: make isenumtype public for use in other classes
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user