HasComparableImplementation Method
Definition
- Namespace
- Cuemon.Extensions
- Assemblies
- Cuemon.Extensions.Core.dll
HasComparableImplementation(Type)
Determines whether the specified type implements either IComparable or IComparable<T>.
public static bool HasComparableImplementation(this Type type)
Parameters
Returns
- bool
trueif the specifiedtypeimplements either IComparable or IComparable<T>; otherwise,false.
Exceptions
- ArgumentNullException
typecannot be null.