Esempio n. 1
0
        public BreadcrumbBuilder Add(string text, string href)
        {
            BreadcrumbNode node = new BreadcrumbNode
             {
            Text = text,
            Href = href
             };

             this.breadcrumbs.Items.Add(node);
             return this;
        }
Esempio n. 2
0
        public BreadcrumbBuilder AddCurrent(string text)
        {
            BreadcrumbNode node = new BreadcrumbNode
             {
            Text = text,
            Href = string.Empty,
            IsHome = false,
            IsCurrent = true
             };

             this.breadcrumbs.Items.Add(node);
             return this;
        }
Esempio n. 3
0
 public BreadcrumbBuilder Add(BreadcrumbNode node)
 {
     this.breadcrumbs.Items.Add(node);
      return this;
 }