< Summary - Jellyfin

Information
Class: MediaBrowser.Controller.SyncPlay.Requests.JoinGroupRequest
Assembly: MediaBrowser.Controller
File(s): /srv/git/jellyfin/MediaBrowser.Controller/SyncPlay/Requests/JoinGroupRequest.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 29
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/JoinGroupRequest.cs

#LineLine coverage
 1using System;
 2using MediaBrowser.Model.SyncPlay;
 3
 4namespace MediaBrowser.Controller.SyncPlay.Requests
 5{
 6    /// <summary>
 7    /// Class JoinGroupRequest.
 8    /// </summary>
 9    public class JoinGroupRequest : ISyncPlayRequest
 10    {
 11        /// <summary>
 12        /// Initializes a new instance of the <see cref="JoinGroupRequest"/> class.
 13        /// </summary>
 14        /// <param name="groupId">The identifier of the group to join.</param>
 15        public JoinGroupRequest(Guid groupId)
 16        {
 17            GroupId = groupId;
 018        }
 19
 20        /// <summary>
 21        /// Gets the group identifier.
 22        /// </summary>
 23        /// <value>The identifier of the group to join.</value>
 24        public Guid GroupId { get; }
 25
 26        /// <inheritdoc />
 27        public RequestType Type { get; } = RequestType.JoinGroup;
 28    }
 29}

Methods/Properties

.ctor(System.Guid)