Table of Contents

HasKeyValuePairImplementation Method

Definition

Namespace
Cuemon.Extensions
Assemblies
Cuemon.Extensions.Core.dll
Source
src/Cuemon.Extensions.Core/TypeExtensions.cs

HasKeyValuePairImplementation(Type)

Determines whether the specified type implements either DictionaryEntry or KeyValuePair<TKey, TValue>.

public static bool HasKeyValuePairImplementation(this Type type)

Parameters

type Type

The Type to extend.

Returns

bool

true if the specified type implements either DictionaryEntry or KeyValuePair<TKey, TValue>.; otherwise, false.

Exceptions

ArgumentNullException

type cannot be null.