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

                string lineDefinition = ArticlesRelatedListLogger.LogArrayOfArticles(articles);

                return(lineDefinition);
            }
Beispiel #2
0
        public void LogListArticlesUnderArticle(IPayrollArticle article, IPayrollArticle[] articles, string testName)
        {
            OpenLogStream(testName);

            using (StreamWriter logWriter = new StreamWriter(LogFileStream))
            {
                //logWriter.WriteLine ("\n--- begin ---");

                string lineDefinition = ArticlesRelatedListLogger.LogArticleListInfo(article, articles);

                logWriter.WriteLine(lineDefinition);

                //logWriter.WriteLine ("--- end ---");
            }
        }