Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetInvocationTarget()

virtual ? object System.ComponentModel.MemberDescriptor.GetInvocationTarget ( Type type,
object instance )
inlineprotectedvirtualinherited

Reimplemented in System.ComponentModel.PropertyDescriptor.

Definition at line 328 of file MemberDescriptor.cs.

329 {
330 if (type == null)
331 {
332 throw new ArgumentNullException("type");
333 }
334 if (instance == null)
335 {
336 throw new ArgumentNullException("instance");
337 }
338 return TypeDescriptor.GetAssociation(type, instance);
339 }

References System.ComponentModel.TypeDescriptor.GetAssociation(), and System.type.