@inherits ComponentBase
@implements IDisposable

<MudNavLink Icon="@Icons.Material.Filled.Person" IconColor="Color.Inherit" Match="NavLinkMatch.All" Class="pl-3">
    Account
</MudNavLink>

<MudNavLink Href=@Navigation.Account.Profile Match="NavLinkMatch.Prefix">Profile</MudNavLink>

@code{
    [CascadingParameter] public IReadOnlyDictionary<string, object>? RouteValues { get; set; }

    private string _title = "Account";
    private bool _disposed;

    public void Dispose()
    {
        Dispose(true);
        GC.SuppressFinalize(this);
    }

    private void Dispose(bool disposing)
    {
        if (_disposed is false) return;
        if (disposing is false) return;

        try
        {

        }
        finally
        {
            _disposed = true;
        }
    }
}