Thursday, 14 June 2012

Constants file

public static class Constants
    {
        public struct Events
        {
            public const string imgbnt = "imgbnt";
            public const string lbtnTab = "lbtnTab";
            public static string PopularSearch = ConfigurationSettings.AppSettings["PopularSearchchannelId"].ToString();
        }             

        public struct CacheKeyName
        {
            public static string CurrentDatePageAdInfoKey = string.Format("{0}{1}", "ListPageInfo", DateTime.Now.ToString("MMddyyyy"));
            public static string NonCurrentDatePageAdInfoKey = string.Format("{0}{1}", "ListPageInfo", System.DateTime.Now.AddDays(-1).ToString("MMddyyyy"));
        }

        public struct Video
        {

        }
        public struct Common
        {

        }

       

    }

No comments:

Post a Comment