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