HasComparerImplementation Method
Definition
- Namespace
- Cuemon
- Assemblies
- Cuemon.Core.dll
HasComparerImplementation(IDecorator<Type>)
Determines whether the underlying Type of the decorator implements either IComparer or IComparer<T>.
public static bool HasComparerImplementation(this IDecorator<Type> decorator)
Parameters
decoratorIDecorator<Type>The IDecorator<T> to extend.
Returns
- bool
trueif the underlying Type of thedecoratorimplements either IComparer or IComparer<T>; otherwise,false.
Exceptions
- ArgumentNullException
decoratorcannot be null.