< Summary - Jellyfin

Information
Class: MediaBrowser.Controller.Net.WebSocketMessages.Outbound.RefreshProgressMessage
Assembly: MediaBrowser.Controller
File(s): /srv/git/jellyfin/MediaBrowser.Controller/Net/WebSocketMessages/Outbound/RefreshProgressMessage.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 24
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%
get_MessageType()100%210%

File(s)

/srv/git/jellyfin/MediaBrowser.Controller/Net/WebSocketMessages/Outbound/RefreshProgressMessage.cs

#LineLine coverage
 1using System.Collections.Generic;
 2using System.ComponentModel;
 3using MediaBrowser.Model.Session;
 4
 5namespace MediaBrowser.Controller.Net.WebSocketMessages.Outbound;
 6
 7/// <summary>
 8/// Refresh progress message.
 9/// </summary>
 10public class RefreshProgressMessage : OutboundWebSocketMessage<Dictionary<string, string>>
 11{
 12    /// <summary>
 13    /// Initializes a new instance of the <see cref="RefreshProgressMessage"/> class.
 14    /// </summary>
 15    /// <param name="data">Refresh progress data.</param>
 16    public RefreshProgressMessage(Dictionary<string, string> data)
 017        : base(data)
 18    {
 019    }
 20
 21    /// <inheritdoc />
 22    [DefaultValue(SessionMessageType.RefreshProgress)]
 023    public override SessionMessageType MessageType => SessionMessageType.RefreshProgress;
 24}