mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
refactor: make isenumtype public for use in other classes
This commit is contained in:
parent
efb5e014ec
commit
1076795fae
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue