< Summary - Jellyfin

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

#LineLine coverage
 1namespace MediaBrowser.Model.SyncPlay
 2{
 3    /// <summary>
 4    /// Class GroupStateUpdate.
 5    /// </summary>
 6    public class GroupStateUpdate
 7    {
 8        /// <summary>
 9        /// Initializes a new instance of the <see cref="GroupStateUpdate"/> class.
 10        /// </summary>
 11        /// <param name="state">The state of the group.</param>
 12        /// <param name="reason">The reason of the state change.</param>
 13        public GroupStateUpdate(GroupStateType state, PlaybackRequestType reason)
 14        {
 15            State = state;
 16            Reason = reason;
 017        }
 18
 19        /// <summary>
 20        /// Gets the state of the group.
 21        /// </summary>
 22        /// <value>The state of the group.</value>
 23        public GroupStateType State { get; }
 24
 25        /// <summary>
 26        /// Gets the reason of the state change.
 27        /// </summary>
 28        /// <value>The reason of the state change.</value>
 29        public PlaybackRequestType Reason { get; }
 30    }
 31}