- Namespace
- Raytha.Application.NavigationMenus
- Assembly
- Raytha.Application.dll
public record NavigationMenu_RenderModel : IInsertTemplateVariable, IEquatable<NavigationMenu_RenderModel>
- Inheritance
-
NavigationMenu_RenderModel
- Implements
-
- Inherited Members
-
Properties
public required string DeveloperName { get; init; }
Property Value
- string
public required string Id { get; init; }
Property Value
- string
IsMainMenu
public bool IsMainMenu { get; init; }
Property Value
- bool
public required string Label { get; init; }
Property Value
- string
public required IEnumerable<NavigationMenuItem_RenderModel> MenuItems { get; init; }
Property Value
- IEnumerable<NavigationMenuItem_RenderModel>
Methods
public static NavigationMenu_RenderModel Empty()
Returns
- NavigationMenu_RenderModel
public IEnumerable<string> GetDeveloperNames()
Returns
- IEnumerable<string>
public static Expression<Func<NavigationMenuDto, IReadOnlyCollection<NavigationMenuItem_RenderModel>, NavigationMenu_RenderModel>> GetProjection()
Returns
- Expression<Func<NavigationMenuDto, IReadOnlyCollection<NavigationMenuItem_RenderModel>, NavigationMenu_RenderModel>>
public static NavigationMenu_RenderModel GetProjection(NavigationMenuDto entity, IReadOnlyCollection<NavigationMenuItem_RenderModel> menuItems)
Parameters
entity
NavigationMenuDto
menuItems
IReadOnlyCollection<NavigationMenuItem_RenderModel>
Returns
- NavigationMenu_RenderModel
public IEnumerable<KeyValuePair<string, string>> GetTemplateVariables()
Returns
- IEnumerable<KeyValuePair<string, string>>
public string GetTemplateVariablesAsForEachLiquidSyntax()
Returns
- string