private GetAssociation ( |
||
type | ||
primary | object | |
return | object |
protected static object GetInvokee(Type componentClass, object component) { if (componentClass == null) { throw new ArgumentNullException("componentClass"); } if (component == null) { throw new ArgumentNullException("component"); } return(TypeDescriptor.GetAssociation(componentClass, component)); }
protected virtual object GetInvocationTarget(Type type, object instance) { if (type == null) { throw new ArgumentNullException("type"); } if (instance == null) { throw new ArgumentNullException("instance"); } return(TypeDescriptor.GetAssociation(type, instance)); }