示例#1
0
        /// <summary>
        /// Gets the statistics document.
        /// </summary>
        /// <param name="projectName">Name of the project.</param>
        /// <returns></returns>
        /// <remarks></remarks>
        public string GetStatisticsDocument(string projectName)
        {
            DataResponse resp = cruiseServer.GetStatisticsDocument(GenerateProjectRequest(projectName));

            ValidateResponse(resp);
            return(resp.Data);
        }
示例#2
0
 /// <summary>
 /// Retrieve the statistics document for a project.
 /// </summary>
 /// <param name="request"></param>
 /// <returns></returns>
 public virtual DataResponse GetStatisticsDocument(ProjectRequest request)
 {
     return(server.GetStatisticsDocument(request));
 }