< Summary

Class:MUNity.Schema.Simulation.SimulationAuthDto
Assembly:MUNity.Schema
File(s):C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNitySchema\Schema\Simulation\SimulationAuthDto.cs
Covered lines:0
Uncovered lines:5
Coverable lines:5
Total lines:37
Line coverage:0% (0 of 5)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:5
Method coverage:0% (0 of 5)

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_SimulationUserId()100%10%
get_CanCreateRole()100%10%
get_CanSelectRole()100%10%
get_CanEditResolution()100%10%
get_CanEditListOfSpeakers()100%10%

File(s)

C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNitySchema\Schema\Simulation\SimulationAuthDto.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Text;
 4
 5namespace MUNity.Schema.Simulation
 6{
 7    /// <summary>
 8    /// The Auth Schema sent by the API when given a token.
 9    /// </summary>
 10    public class SimulationAuthDto
 11    {
 12        /// <summary>
 13        /// The internal user id used to identify the user inside the simulation.
 14        /// </summary>
 015        public int SimulationUserId { get; set; }
 16
 17        /// <summary>
 18        /// Can the user create a new role. This is mostly used by now to identify if the user is an administrator.
 19        /// </summary>
 020        public bool CanCreateRole { get; set; }
 21
 22        /// <summary>
 23        /// Can the user select a role on his/her own.
 24        /// </summary>
 025        public bool CanSelectRole { get; set; }
 26
 27        /// <summary>
 28        /// Can the user edit the resolution that is linked to this simulation.
 29        /// </summary>
 030        public bool CanEditResolution { get; set; }
 31
 32        /// <summary>
 33        /// Can the user edit the list of speakers that is linked to this simulation.
 34        /// </summary>
 035        public bool CanEditListOfSpeakers { get; set; }
 36    }
 37}