Пример #1
0
        private async Task <IEnumerable <int> > GetWorkItemIdsAsync(IEnumerable <int> changesetIds)
        {
            if (!_configManager.GetValue <bool>(ConfigKeys.EXCLUDE_WORK_ITEMS_FOR_MERGE))
            {
                return(await _mergeService.GetWorkItemIdsAsync(changesetIds, _configManager.GetValue <IEnumerable <string> >(ConfigKeys.WORK_ITEM_TYPES_TO_EXCLUDE)));
            }

            return(Enumerable.Empty <int>());
        }