I have a class ObjectMapper . Is there any way in .NET 4.0 to tell if typeof(T) is dynamic? I want to be able to determine inside
ObjectMapper
typeof(T)
dynamic
You do this by checking if an instance is of type IDynamicMetaObjectProvider or you can check whether the type implements IDynamicMetaObjectProvider.
IDynamicMetaObjectProvider