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

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