public void Add(string pageName, string pageUrl)
        {
            var bci = new BreadcrumbItem {
                PageName = pageName, PageUrl = pageUrl
            };

            InnerList.Add(bci);
        }
        public void InsertBeginning(string pageName, string pageUrl)
        {
            var bci = new BreadcrumbItem {
                PageName = pageName, PageUrl = pageUrl
            };

            InnerList.Insert(0, bci);
        }
 public void InsertBeginning(string pageName, string pageUrl)
 {
     var bci = new BreadcrumbItem
         {
             PageName = pageName,
             PageUrl = pageUrl
         };
     this.InnerList.Insert(0, bci);
 }
 public void Add(string pageName, string pageUrl)
 {
     var bci = new BreadcrumbItem
         {
             PageName = pageName,
             PageUrl = pageUrl
         };
     this.InnerList.Add(bci);
 }
        public static void Add(string pageName, string pageUrl)
        {
            ArrayList q = GetBreadCrumbs();
            var bci = new BreadcrumbItem {PageName = pageName, PageUrl = pageUrl};

            q.Remove(bci);
            q.Add(bci);

            if (q.Count > MaxBreadCrumbs) q.RemoveAt(0);

            //if (q.Contains(bci) == false) q.Enqueue(bci);
            //if (q.Count >= MaxBreadCrumbs) q.Dequeue();
        }
        public static void Add(string pageName, string pageUrl)
        {
            ArrayList q   = GetBreadCrumbs();
            var       bci = new BreadcrumbItem {
                PageName = pageName, PageUrl = pageUrl
            };

            q.Remove(bci);
            q.Add(bci);

            if (q.Count > MaxBreadCrumbs)
            {
                q.RemoveAt(0);
            }

            //if (q.Contains(bci) == false) q.Enqueue(bci);
            //if (q.Count >= MaxBreadCrumbs) q.Dequeue();
        }