< Summary - Jellyfin

Information
Class: MediaBrowser.Controller.SyncPlay.Requests.NewGroupRequest
Assembly: MediaBrowser.Controller
File(s): /srv/git/jellyfin/MediaBrowser.Controller/SyncPlay/Requests/NewGroupRequest.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 28
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%210%

File(s)

/srv/git/jellyfin/MediaBrowser.Controller/SyncPlay/Requests/NewGroupRequest.cs

#LineLine coverage
 1using MediaBrowser.Model.SyncPlay;
 2
 3namespace MediaBrowser.Controller.SyncPlay.Requests
 4{
 5    /// <summary>
 6    /// Class NewGroupRequest.
 7    /// </summary>
 8    public class NewGroupRequest : ISyncPlayRequest
 9    {
 10        /// <summary>
 11        /// Initializes a new instance of the <see cref="NewGroupRequest"/> class.
 12        /// </summary>
 13        /// <param name="groupName">The name of the new group.</param>
 14        public NewGroupRequest(string groupName)
 15        {
 16            GroupName = groupName;
 017        }
 18
 19        /// <summary>
 20        /// Gets the group name.
 21        /// </summary>
 22        /// <value>The name of the new group.</value>
 23        public string GroupName { get; }
 24
 25        /// <inheritdoc />
 26        public RequestType Type { get; } = RequestType.NewGroup;
 27    }
 28}

Methods/Properties

.ctor(System.String)