示例#1
0
        protected static void addDatabaseDate(Dictionary <string, string> header)
        {
            string appIsReview = ConfigurationManager.AppSettings["IsReview"];

            if (!String.IsNullOrEmpty(appIsReview) && appIsReview.ToLower().Equals("true"))
            {
                header.Add(Resources.GetGlobal("Common", "DatabaseDateReview"), ListOfValues.GetLatestReviewDate().Format());
            }
            else
            {
                header.Add(Resources.GetGlobal("Common", "DatabaseDate"), ListOfValues.GetLatestPublicationDate().Format());
            }
        }