Table of Contents

Class CombinedMenuModel

Namespace
The.Web.Routing
Assembly
Instagile.Web.Client.dll

A menu constructed by resolving the links in its submenus into a single list.

public record CombinedMenuModel : MenuModel, IEquatable<MenuModel>, IEquatable<CombinedMenuModel>
Inheritance
CombinedMenuModel
Implements
Inherited Members

Constructors

CombinedMenuModel(IReadOnlyList<MenuModel>)

A menu constructed by resolving the links in its submenus into a single list.

public CombinedMenuModel(IReadOnlyList<MenuModel> Submenus)

Parameters

Submenus IReadOnlyList<MenuModel>

CombinedMenuModel(params MenuModel[])

public CombinedMenuModel(params MenuModel[] Submenus)

Parameters

Submenus MenuModel[]

Properties

Submenus

public IReadOnlyList<MenuModel> Submenus { get; init; }

Property Value

IReadOnlyList<MenuModel>

Methods

Flatten(IServices)

public override IEnumerable<LinkModel> Flatten(IServices services)

Parameters

services IServices

Returns

IEnumerable<LinkModel>