/// <summary> /// constructor /// </summary> public MethodParamInfo(CodeFunctionInfo parent, CodeParameter2 item, string comment) { this.parent = parent; this.item = item; this.Comment = comment; Name = item.Name; Type = TypeInfo.Create(item.Type); DefaultValue = item.DefaultValue; }
/// <summary> /// /// </summary> public virtual ParamInfo CreateParameter(CodeFunctionInfo parent, CodeParameter2 item, int position, string parameterComment) { return new ParamInfo(parent, item, position, parameterComment); }