< Summary - Jellyfin

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

#LineLine coverage
 1using System.ComponentModel;
 2using MediaBrowser.Model.Session;
 3
 4namespace MediaBrowser.Controller.Net.WebSocketMessages.Outbound;
 5
 6/// <summary>
 7/// General command websocket message.
 8/// </summary>
 9public class GeneralCommandMessage : OutboundWebSocketMessage<GeneralCommand>
 10{
 11    /// <summary>
 12    /// Initializes a new instance of the <see cref="GeneralCommandMessage"/> class.
 13    /// </summary>
 14    /// <param name="data">The general command.</param>
 15    public GeneralCommandMessage(GeneralCommand data)
 016        : base(data)
 17    {
 018    }
 19
 20    /// <inheritdoc />
 21    [DefaultValue(SessionMessageType.GeneralCommand)]
 022    public override SessionMessageType MessageType => SessionMessageType.GeneralCommand;
 23}