public void AddPage(string title, int pageNo, string itemClass)
            {
                var link = new PagerLink
                {
                    PageNo = pageNo,
                    Title  = title,
                    Class  = itemClass
                };

                _pagerLinks.Add(link);
            }
        public void AddPage(string title, int pageNo, string itemClass, bool isCurrent = false)
        {
            var link = new PagerLink
            {
                PageNo    = pageNo,
                Title     = title,
                Class     = itemClass,
                IsCurrent = isCurrent
            };

            _pagerLinks.Add(link);
        }
Exemple #3
0
 public void AddPage(string title,
     int pageNo,
     string itemClass,
     bool enabled)
 {
     var link = new PagerLink
     {
         PageNo = pageNo,
         Title = title,
         Class = itemClass,
         Enabled = enabled
     };
     _pagerLinks.Add(link);
 }
            public void AddPage(string title, int pageNo, string itemClass)
            {
                var link = new PagerLink
                {
                    PageNo = pageNo,
                    Title = title,
                    Class = itemClass
                };

                _pagerLinks.Add(link);
            }