public MethodPropertyValueHolder(MethodPropertyDescriptor method) { this.method = method; }
public static ArrayList GetMethodParams(MethodPropertyDescriptor methodDesc) { ArrayList list = new ArrayList(); ParameterInfo[] paramInfo = methodDesc.MethodInfo.GetParameters(); for (int i = 0; i < paramInfo.Length; i++) { ParameterInfo param = paramInfo[i]; list.Add(new ParameterPropertyDescriptor(methodDesc, param)); } return list; }
public ReturnParameterDescriptor(MethodPropertyDescriptor method) : base("Return (" + method.MethodInfo.ReturnType.Name + ")", null) { this.method = method; this.returnType = method.MethodInfo.ReturnType; }
public ParameterPropertyDescriptor(MethodPropertyDescriptor methodDesc, ParameterInfo param) : base(param.Name + " (" + param.ParameterType.Name + ")", null) { this.methodDesc = methodDesc; this.param = param; }
public MethodEditingConverter(MethodPropertyDescriptor method) { this.method = method; }