< Summary - Jellyfin

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

#LineLine coverage
 1#pragma warning disable SA1649
 2
 3using System;
 4
 5namespace MediaBrowser.Model.SyncPlay;
 6
 7/// <summary>
 8/// Class GroupUpdate.
 9/// </summary>
 10/// <typeparam name="T">The type of the data of the message.</typeparam>
 11public class GroupUpdate<T> : GroupUpdate
 12{
 13    /// <summary>
 14    /// Initializes a new instance of the <see cref="GroupUpdate{T}"/> class.
 15    /// </summary>
 16    /// <param name="groupId">The group identifier.</param>
 17    /// <param name="type">The update type.</param>
 18    /// <param name="data">The update data.</param>
 19    public GroupUpdate(Guid groupId, GroupUpdateType type, T data)
 020        : base(groupId)
 21    {
 022        Data = data;
 023        Type = type;
 024    }
 25
 26    /// <summary>
 27    /// Gets the update data.
 28    /// </summary>
 29    /// <value>The update data.</value>
 30    public T Data { get; }
 31}