예제 #1
0
        /// <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));
        }
예제 #2
0
        /// <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));
        }
예제 #3
0
 /// <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));
 }
예제 #4
0
 /// <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));
 }