Table of Contents

HasAnonymousCharacteristics Method

Definition

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

HasAnonymousCharacteristics(Type)

Determines whether the specified type suggest an anonymous implementation (be that in a form of a type, delegate or lambda expression).

public static bool HasAnonymousCharacteristics(this Type type)

Parameters

type Type

The Type to extend.

Returns

bool

true if the specified type suggest an anonymous implementation; otherwise, false.

Remarks

If you can avoid it, don't use this method. It is - to say the least - fragile.

Exceptions

ArgumentNullException

type cannot be null.