public void UpdateWorkItems(int changeSet, Dictionary<int, WorkItemCheckinAction> workItems, string comment)
{
foreach (var workItem in workItems)
{
switch (workItem.Value)
{
case WorkItemCheckinAction.Associate:
this.clientService.Associate(workItem.Key, changeSet, comment);
break;
case WorkItemCheckinAction.Resolve:
this.clientService.Resolve(workItem.Key, changeSet, comment);
break;
default:
break;
}
}
}
}