< Summary

Class:MUNity.BlazorServer.Components.Conference.TeamRoleManageComponent
Assembly:MUNity.BlazorServer
File(s):C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNity.BlazorServer\Components\Conference\TeamRoleManageComponent.razor
Covered lines:0
Uncovered lines:13
Coverable lines:13
Total lines:29
Line coverage:0% (0 of 13)
Covered branches:0
Total branches:8
Branch coverage:0% (0 of 8)
Covered methods:0
Total methods:2
Method coverage:0% (0 of 2)

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
BuildRenderTree(...)0%80%
get_Role()100%10%

File(s)

C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNity.BlazorServer\Components\Conference\TeamRoleManageComponent.razor

#LineLine coverage
 01@if (Role != null)
 02{
 3    <div class="col-4">
 4        <div class="card border-1 m-15px">
 5            <div class="card-body">
 06                <h4 class="card-title">@Role.Name</h4>
 07                <h6 class="card-subtitle mb-10px text-muted">Untersteht: @Role.ParentName</h6>
 8                <h6 class="card-subtitle mb-10px text-muted">Berechtigung: BERECHTIGUNGSNAME</h6>
 9                <h5 class="card-subtitle mb-10px text-muted">Eingesetzte Personen</h5>
 10
 11                <div class="list-group">
 012                    @if (Role.Participants != null && Role.Participants.Count > 0)
 013                    {
 014                        foreach (var participant in Role.Participants)
 015                        {
 016                            <a href="/u/@participant.ParticipantUsername" class="list-group-item">@participant.Participa
 017                        }
 018                    }
 19
 20                    <a href="#" class="list-group-item active">Person Hinzufügen</a>
 21                </div>
 22            </div>
 23        </div>
 24    </div>
 025}
 26
 27@code {
 028    [Parameter] public MUNity.Schema.Conference.TeamRoleInfo Role { get; set; }
 29}

Methods/Properties

BuildRenderTree(...)
get_Role()