- Namespace
- Raytha.Application.NavigationMenuItems
- Assembly
- Raytha.Application.dll
public record NavigationMenuItem_RenderModel : IInsertTemplateVariable, IEquatable<NavigationMenuItem_RenderModel>
- Inheritance
-
NavigationMenuItem_RenderModel
- Implements
-
- Inherited Members
-
Properties
public string? CssClassName { get; init; }
Property Value
- string
public required string Id { get; init; }
Property Value
- string
public bool IsDisabled { get; init; }
Property Value
- bool
public bool IsFirstItem { get; init; }
Property Value
- bool
public bool IsLastItem { 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>
public bool OpenInNewTab { get; init; }
Property Value
- bool
public int Ordinal { get; init; }
Property Value
- int
public required string Url { get; init; }
Property Value
- string
Methods
public static NavigationMenuItem_RenderModel Empty()
Returns
- NavigationMenuItem_RenderModel
public IEnumerable<string> GetDeveloperNames()
Returns
- IEnumerable<string>
public static Expression<Func<NavigationMenuItemDto, IReadOnlyCollection<NavigationMenuItem_RenderModel>, int, NavigationMenuItem_RenderModel>> GetProjection()
Returns
- Expression<Func<NavigationMenuItemDto, IReadOnlyCollection<NavigationMenuItem_RenderModel>, int, NavigationMenuItem_RenderModel>>
public static NavigationMenuItem_RenderModel GetProjection(NavigationMenuItemDto entity, IReadOnlyCollection<NavigationMenuItem_RenderModel> nestedMenuItems, int menuItemsWithSameParentCount)
Parameters
entity
NavigationMenuItemDto
nestedMenuItems
IReadOnlyCollection<NavigationMenuItem_RenderModel>
menuItemsWithSameParentCount
int
Returns
- NavigationMenuItem_RenderModel
public IEnumerable<KeyValuePair<string, string>> GetTemplateVariables()
Returns
- IEnumerable<KeyValuePair<string, string>>
public string GetTemplateVariablesAsForEachLiquidSyntax()
Returns
- string