本文整理汇总了C#中IList.MapToString方法的典型用法代码示例。如果您正苦于以下问题:C# IList.MapToString方法的具体用法?C# IList.MapToString怎么用?C# IList.MapToString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IList
的用法示例。
在下文中一共展示了IList.MapToString方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: RetrieveDeveloperProjectList
/// <summary>
/// Retrieves the team engagement developer project list.
/// </summary>
/// <param name="developerId">The developer id value</param>
/// <param name="projectIds">The list of project ids.</param>
/// <param name="fromDate">The from date.</param>
/// <param name="toDate">The to date.</param>
/// <returns>list of team engagement project list.</returns>
public IList<TeamEngagementProjectListItemByDeveloper> RetrieveDeveloperProjectList(int developerId, IList<int> projectIds, DateTime? fromDate, DateTime? toDate)
{
return this.unitOfWork.Context.RetrieveTeamEngagementProjectListByDeveloper(developerId, projectIds.MapToString(), fromDate, toDate).ToList();
}
示例2: RetrieveHoursAvailability
/// <summary>
/// Retrieves the hours availability.
/// </summary>
/// <param name="developerIds">The developer ids.</param>
/// <param name="fromDate">From date.</param>
/// <param name="toDate">To date.</param>
/// <param name="projectId">The project identifier.</param>
/// <param name="isIncludeHoliday">if set to <c>true</c> [is include holiday].</param>
/// <param name="userId">The user identifier.</param>
/// <returns>Hour availability list item.</returns>
public HoursAvailabilityListItem RetrieveHoursAvailability(IList<int> developerIds, DateTime? fromDate, DateTime? toDate, int projectId, bool isIncludeHoliday, int userId)
{
return this.unitOfWork.Context.RetrieveHoursAvailability(developerIds.MapToString(), fromDate, toDate, projectId, isIncludeHoliday, userId).FirstOrDefault();
}
示例3: RetrieveDeveloperList
/// <summary>
/// Retrieves the team engagement developer list.
/// </summary>
/// <param name="managerIds">List of manager ids</param>
/// <param name="projectIds">List of project ids</param>
/// <param name="fromDate">From date value</param>
/// <param name="toDate">The to date.</param>
/// <param name="userId">The user identifier.</param>
/// <returns>
/// list of team engagement developers
/// </returns>
public IList<TeamEngagementDeveloperListItem> RetrieveDeveloperList(IList<int> managerIds, IList<int> projectIds, DateTime? fromDate, DateTime? toDate, int? userId)
{
return this.unitOfWork.Context.RetrieveTeamEngagementDeveloperList(managerIds.MapToString(), projectIds.MapToString(), fromDate, toDate, userId).ToList();
}
示例4: RetrieveTeamMemberAssignments
/// <summary>
/// Function to retrieve report for team member assignments.
/// </summary>
/// <param name="projectIds">The project ids.</param>
/// <param name="developerName">The developer name.</param>
/// <param name="roleIds">The role ids</param>
/// <param name="userId">The user id.</param>
/// <returns>The team member allocation list item.</returns>
public IList<TeamMemberAssignmentsReportListItem> RetrieveTeamMemberAssignments(string projectIds, string developerName, IList<int> roleIds, int userId)
{
return this.unitOfWork.Context.RetrieveTeamMemberAssignmentsReport(projectIds, developerName, roleIds.MapToString(), userId).ToList();
}
示例5: RetrieveCount
/// <summary>
/// Function to retrieve team engagement count.
/// </summary>
/// <param name="developerId">The developer id.</param>
/// <param name="fromDate">The from date.</param>
/// <param name="toDate">The to date.</param>
/// <param name="projectIds">The list of project ids.</param>
/// <param name="isIncludeOffDays">Value indicating whether to include off days or not</param>
/// <param name="isOverride">Value indicating whether to override or not</param>
/// <param name="userId">The user id.</param>
/// <returns>
/// The team engagement summary list item.
/// </returns>
public TeamEngagementSummaryListItem RetrieveCount(IList<int> developerId, DateTime fromDate, DateTime toDate, IList<int> projectIds, bool isIncludeOffDays, bool isOverride, int? userId)
{
return this.unitOfWork.Context.RetrieveTeamEngagementCount(developerId.MapToString(), fromDate, toDate, projectIds.MapToString(), isIncludeOffDays, isOverride, userId).FirstOrDefault();
}
示例6: RetrieveWithManagerInfo
/// <summary>
/// Function to retrieve developer information with manager information by id .
/// </summary>
/// <param name="developerIds">Developer id value</param>
/// <param name="userId">The user identifier.</param>
/// <returns>
/// Developer information
/// </returns>
public DeveloperListItem RetrieveWithManagerInfo(IList<int> developerIds, int userId)
{
return this.unitOfWork.Context.RetrieveDeveloperHierarchyByManagerID(null, null, developerIds.MapToString(), userId).FirstOrDefault();
}
示例7: RetrieveTeamPortalTask
/// <summary>
/// Retrieves the team portal task.
/// </summary>
/// <param name="projectIds">The project ids.</param>
/// <param name="developerId">The developer identifier.</param>
/// <param name="recordCount">The record count.</param>
/// <param name="state">The state.</param>
/// <returns>
/// List of tasks
/// </returns>
public IList<TeamPortalTask> RetrieveTeamPortalTask(IList<int> projectIds, int? developerId, int? recordCount, int? state)
{
return this.unitOfWork.Context.RetrieveTeamPortalTask(projectIds.MapToString(), developerId, recordCount, state).ToList();
}
示例8: RetrieveDailyReport
/// <summary>
/// Retrieves the daily report.
/// </summary>
/// <param name="fromDate">From date.</param>
/// <param name="toDate">To date.</param>
/// <param name="clientId">The client identifier.</param>
/// <param name="developerIds">The developer ids.</param>
/// <param name="projectIds">The project ids.</param>
/// <param name="workCategoryId">The work category identifier.</param>
/// <param name="showClientDependencies">The show client dependencies.</param>
/// <param name="featureId">The feature identifier.</param>
/// <param name="userId">The user identifier.</param>
/// <param name="supervisorIds">The supervisor ids.</param>
/// <param name="isCalibratedHours">if set to <c>true</c> [is calibrated hours].</param>
/// <param name="showRework">The show rework.</param>
/// <returns>
/// The list of work detail
/// </returns>
public IList<WorkDetailListItem> RetrieveDailyReport(DateTime fromDate, DateTime toDate, int? clientId, IList<int> developerIds, string projectIds, int? workCategoryId, byte? showClientDependencies, string featureId, int userId, IList<int> supervisorIds, bool isCalibratedHours, byte? showRework)
{
return this.unitOfWork.Context.RetrieveTimesheetDailyReport(fromDate, toDate, clientId, workCategoryId, developerIds.MapToString(), projectIds, showClientDependencies, featureId, userId, supervisorIds.MapToString(), isCalibratedHours, showRework).ToList();
}
示例9: RetrieveActivityReportByProjectView
/// <summary>
/// Retrieves the activity report project view.
/// </summary>
/// <param name="projectIds">The project ids.</param>
/// <param name="supervisorIds">The supervisor ids.</param>
/// <param name="fromDate">From date.</param>
/// <param name="toDate">To date.</param>
/// <param name="userId">The user identifier.</param>
/// <returns>The activity report project list item</returns>
public IList<ActivityReportProjectViewListItem> RetrieveActivityReportByProjectView(string projectIds, IList<int> supervisorIds, DateTime fromDate, DateTime toDate, int userId)
{
return this.unitOfWork.Context.RetrieveActivityReportProjectView(projectIds, supervisorIds.MapToString(), fromDate, toDate, userId).ToList();
}
示例10: UpdateDueDate
/// <summary>
/// Function to update due date for project artifacts.
/// </summary>
/// <param name="projectArtifactIds">List of project artifact list.</param>
/// <param name="dueDate">The due date.</param>
/// <param name="modifiedByDeveloperId">The modified by developer id.</param>
public void UpdateDueDate(IList<int> projectArtifactIds, DateTime dueDate, int modifiedByDeveloperId)
{
this.unitOfWork.Context.UpdateProjectArtifactDueDate(projectArtifactIds.MapToString(), dueDate, modifiedByDeveloperId);
}
示例11: RetrieveReleaseCount
/// <summary>
/// Function to retrieve release calendar count.
/// </summary>
/// <param name="releaseTypes">releaseType details</param>
/// <param name="projectIds">projectIDs details</param>
/// <param name="fromDate">fromDate details</param>
/// <param name="toDate">toDate details</param>
/// <param name="userId">The user id.</param>
/// <returns>integer count</returns>
public IList<ReleaseCountListItem> RetrieveReleaseCount(IList<byte> releaseTypes, IList<int> projectIds, DateTime? fromDate, DateTime? toDate, int userId)
{
return this.unitOfWork.Context.RetrieveReleasesCount(releaseTypes.MapToString(), projectIds.MapToString(), fromDate, toDate, userId).ToList();
}
示例12: RetrieveList
/// <summary>
/// Function to retrieve process compliance list.
/// </summary>
/// <param name="projectId">Project id</param>
/// <param name="releaseEnvironmentList">Release environments</param>
/// <param name="artifactStatusList">Artifacts status list</param>
/// <param name="userId">User id value</param>
/// <returns>Release information</returns>
public IList<ProcessComplianceListItem> RetrieveList(int projectId, IList<int> releaseEnvironmentList, IList<int> artifactStatusList, int userId)
{
return this.unitOfWork.Context.RetrieveProcessComplianceList(projectId, releaseEnvironmentList.MapToString(), artifactStatusList.MapToString(), userId).ToList();
}
示例13: RetrieveDeveloperBugs
/// <summary>
/// Function to retrieve developer bugs.
/// </summary>
/// <param name="projectIds">List of project ids.</param>
/// <param name="developerId">The developer Id.</param>
/// <param name="count">The record count.</param>
/// <returns>List of developer bugs list.</returns>
public IList<DeveloperBugsListItem> RetrieveDeveloperBugs(IList<int> projectIds, int developerId, int? count)
{
return this.unitOfWork.Context.RetrieveDeveloperBugs(projectIds.MapToString(), developerId, count).ToList();
}
示例14: RetrieveManagers
/// <summary>
/// Function to retrieve list of managers.
/// </summary>
/// <param name="includeIds">List of include ids.</param>
/// <param name="isActive">Is active flag.</param>
/// <param name="userId">The user identifier.</param>
/// <returns>
/// List of managers
/// </returns>
public IList<DeveloperListItem> RetrieveManagers(IList<int> includeIds, bool? isActive, int userId)
{
return this.unitOfWork.Context.RetrieveManagers(includeIds.MapToString(), isActive, userId).ToList();
}
示例15: Save
/// <summary>
/// Function to save team engagement.
/// </summary>
/// <param name="developerIds">The developer id list.</param>
/// <param name="projectId">The project id.</param>
/// <param name="fromDate">The from date.</param>
/// <param name="toDate">The to date.</param>
/// <param name="hours">The hours.</param>
/// <param name="modifiedByDeveloperId">The modified by developer id.</param>
/// <param name="includeOffDays">Value indicating whether to include off days or not</param>
/// <param name="isOverride">Value indicating whether to override or not</param>
/// <param name="isUnderHierarchy">if set to <c>true</c> [is under hierarchy].</param>
/// <returns>
/// List of error list item.
/// </returns>
public IList<ErrorListItem> Save(IList<int> developerIds, int projectId, DateTime fromDate, DateTime toDate, decimal hours, int modifiedByDeveloperId, bool includeOffDays, bool isOverride, bool isUnderHierarchy)
{
return this.unitOfWork.Context.SaveTeamEngagement(developerIds.MapToString(), projectId, fromDate, toDate, hours, modifiedByDeveloperId, includeOffDays, isOverride, isUnderHierarchy).ToList();
}