< Summary

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

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_Token()100%10%
get_SimulationId()100%10%

File(s)

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

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.ComponentModel.DataAnnotations;
 4using System.Text;
 5
 6namespace MUNity.Schema.Simulation
 7{
 8    /// <summary>
 9    /// Every Request that is happening inside the Simulation must be authenticated.
 10    /// This abstraction will ensure that a Token is passed.
 11    /// </summary>
 12    public class SimulationRequest
 13    {
 14        /// <summary>
 15        /// The token of the current logged in SimulationUser.
 16        /// </summary>
 17        [Required]
 018        public string Token { get; set; }
 19
 20        /// <summary>
 21        /// The id of the Simulation that changes should be made in.
 22        /// </summary>
 23        [Required]
 024        public int SimulationId { get; set; }
 25    }
 26}

Methods/Properties

get_Token()
get_SimulationId()