Table of Contents

Class NavigationMenu_RenderModel

Namespace
Raytha.Application.NavigationMenus
Assembly
Raytha.Application.dll
public record NavigationMenu_RenderModel : IInsertTemplateVariable, IEquatable<NavigationMenu_RenderModel>
Inheritance
NavigationMenu_RenderModel
Implements
Inherited Members

Properties

DeveloperName

public required string DeveloperName { get; init; }

Property Value

string

Id

public required string Id { get; init; }

Property Value

string

IsMainMenu

public bool IsMainMenu { get; init; }

Property Value

bool

Label

public required string Label { get; init; }

Property Value

string

MenuItems

public required IEnumerable<NavigationMenuItem_RenderModel> MenuItems { get; init; }

Property Value

IEnumerable<NavigationMenuItem_RenderModel>

Methods

Empty()

public static NavigationMenu_RenderModel Empty()

Returns

NavigationMenu_RenderModel

GetDeveloperNames()

public IEnumerable<string> GetDeveloperNames()

Returns

IEnumerable<string>

GetProjection()

public static Expression<Func<NavigationMenuDto, IReadOnlyCollection<NavigationMenuItem_RenderModel>, NavigationMenu_RenderModel>> GetProjection()

Returns

Expression<Func<NavigationMenuDto, IReadOnlyCollection<NavigationMenuItem_RenderModel>, NavigationMenu_RenderModel>>

GetProjection(NavigationMenuDto, IReadOnlyCollection<NavigationMenuItem_RenderModel>)

public static NavigationMenu_RenderModel GetProjection(NavigationMenuDto entity, IReadOnlyCollection<NavigationMenuItem_RenderModel> menuItems)

Parameters

entity NavigationMenuDto
menuItems IReadOnlyCollection<NavigationMenuItem_RenderModel>

Returns

NavigationMenu_RenderModel

GetTemplateVariables()

public IEnumerable<KeyValuePair<string, string>> GetTemplateVariables()

Returns

IEnumerable<KeyValuePair<string, string>>

GetTemplateVariablesAsForEachLiquidSyntax()

public string GetTemplateVariablesAsForEachLiquidSyntax()

Returns

string