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