/// <summary> /// /// </summary> /// <param name="instance"></param> /// <param name="methodName"></param> /// <param name="types"></param> /// <param name="nonPublic"></param> /// <returns></returns> public static MethodMemberDescriptor RetrieveMemberDescriptor(object instance, string methodName, bool nonPublic, Binder binder, Type[] types, ParameterModifier[] modifiers) { if (null == instance) { throw new ArgumentNullException("instance"); } return(MethodMemberHelpers.RetrieveMemberDescriptor(instance.GetType(), methodName, nonPublic, binder, types, modifiers)); }
/// <summary> /// /// </summary> /// <param name="instance"></param> /// <param name="methodName"></param> /// <param name="nonPublic"></param> /// <returns></returns> public static MethodMemberDescriptor RetrieveMemberDescriptor(object instance, string methodName, bool nonPublic) { if (null == instance) { throw new ArgumentNullException("instance"); } return(MethodMemberHelpers.RetrieveMemberDescriptor(instance.GetType(), methodName, nonPublic)); }
/// <summary> /// /// </summary> /// <param name="declaringType"></param> /// <param name="methodName"></param> /// <param name="nonPublic"></param> /// <param name="binder"></param> /// <param name="types"></param> /// <param name="modifiers"></param> /// <returns></returns> public static MethodMemberDescriptor RetrieveMemberDescriptor(Type declaringType, string methodName, bool nonPublic, Binder binder, Type[] types, ParameterModifier[] modifiers) { return(MethodMemberHelpers.RetrieveMemberDescriptor <MethodMemberDescriptor>(declaringType, methodName, nonPublic, binder, types, modifiers)); }
/// <summary> /// /// </summary> /// <param name="declaringType"></param> /// <param name="methodName"></param> /// <param name="nonPublic"></param> /// <returns></returns> public static MethodMemberDescriptor RetrieveMemberDescriptor(Type declaringType, string methodName, bool nonPublic) { return(MethodMemberHelpers.RetrieveMemberDescriptor <MethodMemberDescriptor>(declaringType, methodName, nonPublic)); }