< Summary

Class:MUNity.Database.Models.Resolution.TagModel
Assembly:MUNity.Database
File(s):C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNityDatabase\Models\Resolution\TagModel.cs
Covered lines:0
Uncovered lines:7
Coverable lines:7
Total lines:31
Line coverage:0% (0 of 7)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:4
Method coverage:0% (0 of 4)

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_Id()100%10%
get_Type()100%10%
get_Text()100%10%
.ctor()100%10%

File(s)

C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNityDatabase\Models\Resolution\TagModel.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using System.Threading.Tasks;
 5
 6namespace MUNity.Database.Models.Resolution;
 7
 8public class TagModel
 9{
 10    /// <summary>
 11    /// To Identify the Tag later
 12    /// </summary>
 013    public string Id { get; set; }
 14
 15    /// <summary>
 16    /// A Tag has a type, for example: success, danger, error etc.
 17    /// The types are inside a string and not an enum because they are a string
 18    /// and not an enum.
 19    /// </summary>
 020    public string Type { get; set; }
 21
 22    /// <summary>
 23    /// The Text of the Tag, should be short but is not limited by default.
 24    /// </summary>
 025    public string Text { get; set; }
 26
 027    public TagModel()
 028    {
 029        this.Id = Guid.NewGuid().ToString();
 030    }
 31}

Methods/Properties

get_Id()
get_Type()
get_Text()
.ctor()