< Summary - Jellyfin

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

#LineLine coverage
 1using System;
 2
 3namespace MediaBrowser.Model.SyncPlay;
 4
 5/// <summary>
 6/// Group update without data.
 7/// </summary>
 8/// <typeparam name="T">The type of the update data.</typeparam>
 9public abstract class GroupUpdate<T>
 10{
 11    /// <summary>
 12    /// Initializes a new instance of the <see cref="GroupUpdate{T}"/> class.
 13    /// </summary>
 14    /// <param name="groupId">The group identifier.</param>
 15    /// <param name="data">The update data.</param>
 16    protected GroupUpdate(Guid groupId, T data)
 17    {
 018        GroupId = groupId;
 019        Data = data;
 020    }
 21
 22    /// <summary>
 23    /// Gets the group identifier.
 24    /// </summary>
 25    /// <value>The group identifier.</value>
 26    public Guid GroupId { get; }
 27
 28    /// <summary>
 29    /// Gets the update data.
 30    /// </summary>
 31    /// <value>The update data.</value>
 32    public T Data { get; }
 33
 34    /// <summary>
 35    /// Gets the update type.
 36    /// </summary>
 37    /// <value>The update type.</value>
 38    public abstract GroupUpdateType Type { get; }
 39}

Methods/Properties

.ctor(System.Guid,T)