< Summary

Class:MUNity.Schema.User.UserInformation
Assembly:MUNity.Schema
File(s):C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNitySchema\Schema\User\UserInformation.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:32
Line coverage:0% (0 of 4)
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_Username()100%10%
get_Forename()100%10%
get_Lastname()100%10%
get_LastOnline()100%10%

File(s)

C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNitySchema\Schema\User\UserInformation.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Text;
 4
 5namespace MUNity.Schema.User
 6{
 7    /// <summary>
 8    /// Returns base information about a user. This schema can be different depending on the privacy settings of the use
 9    /// </summary>
 10    public class UserInformation
 11    {
 12        /// <summary>
 13        /// Returns the username of the user. This will always be sent.
 14        /// </summary>
 015        public string Username { get; set; }
 16
 17        /// <summary>
 18        /// The first name of the user. This can also just be initals when the user set it in his/her privacy settings.
 19        /// </summary>
 020        public string Forename { get; set; }
 21
 22        /// <summary>
 23        /// The last name of the user. This can also just be initials when the user set only display initals in his/her 
 24        /// </summary>
 025        public string Lastname { get; set; }
 26
 27        /// <summary>
 28        /// The date when the user was last online. Can be null when the user selected to hide the last online date.
 29        /// </summary>
 030        public DateTime? LastOnline { get; set; }
 31    }
 32}