Exemple #1
0
 public MenuVM(MenuEntryVM parent, List <MenuVM> subs)
 {
     href     = parent.Href;
     text     = parent.Label;
     icon     = parent.Icon;
     children = subs;
 }
Exemple #2
0
        public bool Equals(MenuEntryVM other)
        {
            if (other == null)
            {
                return(false);
            }

            return(this.Id == other.Id && this.Label.Equals(other.Label));
        }
Exemple #3
0
 public MenuVM(MenuEntryVM parent)
 {
     href = parent.Href;
     text = parent.Label;
     icon = parent.Icon;
 }