@* Copyright (c) Microsoft. All rights reserved. *@
@using AGUIDojoClient.Components.Shared
@inject DemoService DemoService
@inject NavigationManager Nav
@code {
///
/// Gets or sets the currently selected scenario ID.
///
[Parameter]
public string? CurrentScenarioId { get; set; }
private bool IsSelected(string scenarioId)
=> CurrentScenarioId?.Equals(scenarioId, StringComparison.OrdinalIgnoreCase) ?? false;
private void NavigateToScenario(string scenarioId)
=> Nav.NavigateTo($"/microsoft-agent-framework/feature/{scenarioId}");
}