Class TypeExtensions
- Namespace
- Acuit.Pinpoint.Common.Extensions
- Assembly
- Acuit.Pinpoint.Common.dll
Extension methods for Type.
public static class TypeExtensions
- Inheritance
-
TypeExtensions
- Inherited Members
Methods
IsSameOrSubclassOf(Type, Type)
Determines if a type is the same or derived from another type.
public static bool IsSameOrSubclassOf(this Type type, Type baseType)
Parameters
Returns
Exceptions
- ArgumentNullException
type
is null.- ArgumentNullException
baseType
is null.