110,538
社区成员
发帖
与我相关
我的任务
分享
/// <summary>
/// 得到dll说明文档中的参数类型
/// </summary>
/// <param name="parameter"></param>
/// <returns></returns>
private static string GetParameterTypeName(ParameterInfo parameter)
{
return parameter.ParameterType.ToString()
.Replace("[", "{")
.Replace("]", "}")
.Replace("System.Nullable`1", "System.Nullable");
}