Can I with a MemberInfo check if the member is a delegate?
Is it possible with a MemberInfo
to check if member is a delegate? How I can know if the Member开发者_开发百科Info
is a type that extends MulticastDelegate
?
MemberInfo
does not expose this information. You would have to figure out which of the super types it is, like FieldInfo
and check a property like FieldType
or PropertyType
on PropertyInfo
.
精彩评论