< Summary

Information
Class: Syki.Front.Features.Academic.CreateCourseCurriculum.CourseCurriculumDisciplinesDialog
Assembly: Front
File(s): /home/runner/work/syki/syki/Front/Features/Academic/CreateCourseCurriculum/CourseCurriculumDisciplinesDialog.razor
Tag: 22_11348620282
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 34
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_MudDialog()100%11100%
get_Disciplines()100%11100%

File(s)

/home/runner/work/syki/syki/Front/Features/Academic/CreateCourseCurriculum/CourseCurriculumDisciplinesDialog.razor

#LineLine coverage
 1@namespace Syki.Front.Features.Academic.CreateCourseCurriculum
 2
 3<MudDialog ContentClass="px-4">
 4    <TitleContent>
 5        <MudText Typo="Typo.h6">
 6            <MudIcon Icon="@Icons.Material.Filled.AccountTree" Class="mr-1 mb-n1" />
 7            @MudDialog.Title
 8        </MudText>
 9    </TitleContent>
 10    <DialogContent>
 11        <MudDataGrid
 12            Class="mb-4"
 13            Dense="true"
 14            Hover="true"
 1015            Items="@Disciplines.OrderBy(d => d.Period).ThenBy(d => d.Name)"
 16        >
 17            <Columns>
 18                <PropertyColumn Property="x => x.Name" Title="Nome" />
 19                <PropertyColumn Property="x => x.Period" Title="Período" />
 20                <PropertyColumn Property="x => x.Credits" Title="Créditos" />
 21                <PropertyColumn Property="x => x.Workload" Title="CH" />
 22            </Columns>
 23        </MudDataGrid>
 24    </DialogContent>
 25</MudDialog>
 26
 27@code
 28{
 29    [CascadingParameter]
 230    MudDialogInstance MudDialog { get; set; }
 31
 32    [Parameter]
 233    public List<DisciplineOut> Disciplines { get; set; }
 34}

Methods/Properties

get_MudDialog()
get_Disciplines()