@inherits ComponentBase

<TableContainer T="HostApplicationEntity"
                @ref="Container"
                @bind-Search="Search"
                Title="@Title"
                Breadcrumbs="@Breadcrumbs"
                Data="LoadDataAsync">
    <Header>
        <MudTh>
            <MudTableSortLabel SortLabel="Name" T="HostApplicationEntity">
                Name
            </MudTableSortLabel>
        </MudTh>
        <MudTh>
            <MudTableSortLabel SortLabel="Company" T="HostApplicationEntity">
                Company
            </MudTableSortLabel>
        </MudTh>
        <MudTh>
            <MudTableSortLabel SortLabel="Version" T="HostApplicationEntity">
                Version
            </MudTableSortLabel>
        </MudTh>
        <MudTh>
            <MudTableSortLabel SortLabel="Architecture" T="HostApplicationEntity">
                Architecture
            </MudTableSortLabel>
        </MudTh>
        <MudTh>
            <MudTableSortLabel SortLabel="InstallDate" T="HostApplicationEntity">
                Installed
            </MudTableSortLabel>
        </MudTh>
    </Header>
    <RowTemplate>
        <MudTd DataLabel="Name">
                @context?.Name
            </MudTd>
            <MudTd DataLabel="Company">
                @context?.Company
            </MudTd>
            <MudTd DataLabel="Version">
                @context?.Version
            </MudTd>
            <MudTd DataLabel="Architecture">
                @context?.Architecture
            </MudTd>
            <MudTd DataLabel="InstallDate">
                @if (@context.InstallDate.HasValue)
                {
                    @context.InstallDate.Value.ToLocalTime().ToString("dd.MM.yyyy");
                }
            </MudTd>
    </RowTemplate>
</TableContainer>