diff --git a/ICD.Common.Utils/Extensions/TypeExtensions.cs b/ICD.Common.Utils/Extensions/TypeExtensions.cs index ad0a70d..ae79c64 100644 --- a/ICD.Common.Utils/Extensions/TypeExtensions.cs +++ b/ICD.Common.Utils/Extensions/TypeExtensions.cs @@ -100,6 +100,11 @@ namespace ICD.Common.Utils.Extensions return s_DecimalNumericTypes.Contains(extends); } + /// + /// Gets the Assembly containing the type. + /// + /// + /// public static Assembly GetAssembly(this Type extends) { if (extends == null) @@ -114,6 +119,12 @@ namespace ICD.Common.Utils.Extensions .Assembly; } + /// + /// Returns true if the type is assignable to the given type. + /// + /// + /// + /// public static bool IsAssignableTo(this Type from, Type to) { if (from == null)