public MenuVM(MenuEntryVM parent, List <MenuVM> subs) { href = parent.Href; text = parent.Label; icon = parent.Icon; children = subs; }
public bool Equals(MenuEntryVM other) { if (other == null) { return(false); } return(this.Id == other.Id && this.Label.Equals(other.Label)); }
public MenuVM(MenuEntryVM parent) { href = parent.Href; text = parent.Label; icon = parent.Icon; }