Table of Contents

HasEnumerableImplementation Method

Definition

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

HasEnumerableImplementation(Type)

Determines whether the specified type implements either IEnumerable or IEnumerable<T>.

public static bool HasEnumerableImplementation(this Type type)

Parameters

type Type

The Type to extend.

Returns

bool

true if the specified type implements either IEnumerable or IEnumerable<T>; otherwise, false.

Exceptions

ArgumentNullException

type cannot be null.