/// <summary>
 /// 创建信息
 /// </summary>
 /// <param name="apiVersion">API版本</param>
 private Info CreateInfo(ApiVersionInfo apiVersion)
 {
     return(new Info()
     {
         Title = apiVersion.Title,
         Version = apiVersion.Version,
         Description = apiVersion.Group.Description,
     });
 }
 /// <summary>
 /// 添加明细
 /// </summary>
 /// <param name="apiVersion">Api版本</param>
 public void AddItem(ApiVersionInfo apiVersion)
 {
     if (apiVersion == null)
     {
         return;
     }
     if (ApiVersions.Any(x => x.Name == apiVersion.Name && x.Version == apiVersion.Version))
     {
         return;
     }
     apiVersion.Group = this;
     ApiVersions.Add(apiVersion);
 }