Esempio n. 1
0
        private static IDictionary <uint, IPayrollArticle[]> CollectDependentArticles(
            IDictionary <uint, IPayrollArticle[]> initialDict,
            uint articleCode, IPayrollArticle[] pendingArticles,
            IDictionary <uint, IPayrollArticle[]> pendingDict, IProcessConfigLogger logger)
        {
            LoggerWrapper.LogAppendMessageInfo(logger, ">>>>>", "CollectRelated");

            var resultList = CollectRelatedArticles(initialDict, articleCode, pendingArticles, pendingDict, logger);

            LoggerWrapper.LogAppendMessageInfo(logger, "<<<<<", "CollectRelated");

            LoggerWrapper.LogDependentCodeArticlesInfo(logger, articleCode, resultList, "ConceptArticles");

            var relatedDict = SortAndMergeIntoDictionary(initialDict, articleCode, resultList);

            return(relatedDict);
        }