public static ArrayList GetMethodParams(MethodPropertyDescriptor methodDesc)
        {
            var list      = new ArrayList();
            var paramInfo = methodDesc.MethodInfo.GetParameters();

            for (var i = 0; i < paramInfo.Length; i++)
            {
                var param = paramInfo[i];
                list.Add(new ParameterPropertyDescriptor(methodDesc, param));
            }
            return(list);
        }
Exemple #2
0
 public ReturnParameterDescriptor(MethodPropertyDescriptor method)
     : base("Return (" + method.MethodInfo.ReturnType.Name + ")", null)
 {
     _method     = method;
     _returnType = method.MethodInfo.ReturnType;
 }
 public MethodEditingConverter(MethodPropertyDescriptor method)
 {
     _method = method;
 }
 public ParameterPropertyDescriptor(MethodPropertyDescriptor methodDesc, ParameterInfo param)
     : base(param.Name + " (" + param.ParameterType.Name + ")", null)
 {
     _methodDesc = methodDesc;
     _param      = param;
 }
 public MethodPropertyValueHolder(MethodPropertyDescriptor method)
 {
     Method = method;
 }