Table of Contents

Class MenuConfiguration

Namespace
JJConsulting.Infinity.Domain.Menu
Assembly
JJConsulting.Infinity.Domain.dll
public class MenuConfiguration : IValidatableObject

Inheritance

Implements

Inherited Members

Properties

AppName

Gets or sets the name of the application associated with the menu item request.

public string? AppName { get; set; }

Property Value

string?

GenerateProxyRoutes

Gets or sets a value indicating whether to generate proxy routes for the associated menu items.

public bool GenerateProxyRoutes { get; set; }

Property Value

bool

MenuItems

Gets or sets the collection of menu items associated with the menu request.

[Required]
public required List<MenuItem> MenuItems { get; set; }

Property Value

List<MenuItem>

Methods

Validate(ValidationContext)

Determines whether the specified object is valid.

public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)

Parameters

validationContext ValidationContext

The validation context.

Returns

IEnumerable<ValidationResult>

A collection that holds failed-validation information.