Example #1
0
            public static string LogRelatedArticlesInfo(IPayrollArticle article)
            {
                var articles = article.RelatedArticles();

                string lineDefinition = ArticlesRelatedListLogger.LogArrayOfArticles(articles);

                return(lineDefinition);
            }
Example #2
0
            public static string LogArticleInfo(IPayrollArticle article)
            {
                string relatedDescrip = article.RelatedArticles().Length.ToString();

                string lineDefinition = string.Format("{0} - {1}\n", article.ConceptName(), relatedDescrip);

                lineDefinition += LogRelatedArticlesInfo(article);

                return(lineDefinition);
            }
        public static int CompareArticles(IPayrollArticle entryOne, IPayrollArticle entryTwo)
        {
            IPayrollArticle articleOne = entryOne;

            IPayrollArticle[] relatedOne = entryOne.RelatedArticles();

            SymbolName[] summaryOne = articleOne.SummaryArticleNames();

            IPayrollArticle articleTwo = entryTwo;

            IPayrollArticle[] relatedTwo = entryTwo.RelatedArticles();

            SymbolName[] summaryTwo = articleTwo.SummaryArticleNames();

            return(CompareArticlesDependency(articleOne, relatedOne, summaryOne, articleTwo, relatedTwo, summaryTwo));
        }