HasAnonymousCharacteristics Method
Definition
- Namespace
- Cuemon.Extensions
- Assemblies
- Cuemon.Extensions.Core.dll
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
Returns
- bool
trueif the specifiedtypesuggest 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
typecannot be null.