@inherits ComponentBase
@implements IDisposable

@inject NavigationManager NavigationManager

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

<MudNavLink Href=@Navigation.Management.Scheduler.Jobs.Index Match="NavLinkMatch.Prefix">Jobs</MudNavLink>
<MudNavLink Href=@Navigation.Management.Scheduler.Tasks.Index Match="NavLinkMatch.Prefix">Tasks</MudNavLink>
<MudNavLink Href=@Navigation.Management.Scheduler.Triggers.Index Match="NavLinkMatch.Prefix">Triggers</MudNavLink>

@code{
    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;
        }
    }
}