@using AntDesign.Docs.Services @menuItemTemplate((MenuItems, LanguageService, 1)) @inject ILanguageService LanguageService @inject NavigationManager NavigationManager @inject HttpClient HttpClient @inject DemoService DemoService; @code { [Parameter] public DemoMenuItem[] MenuItems { get; set; } = {}; static readonly RenderFragment<(DemoMenuItem[] items, ILanguageService languageService, int level)> menuItemTemplate = context => @; }