mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
* Further split inbound and outbound messages * Fix datatype for inbound start messages * fixes from review
25 lines
741 B
C#
25 lines
741 B
C#
using System.ComponentModel;
|
|
using MediaBrowser.Model.Plugins;
|
|
using MediaBrowser.Model.Session;
|
|
|
|
namespace MediaBrowser.Controller.Net.WebSocketMessages.Outbound;
|
|
|
|
/// <summary>
|
|
/// Plugin uninstalled message.
|
|
/// </summary>
|
|
public class PluginUninstalledMessage : OutboundWebSocketMessage<PluginInfo>
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="PluginUninstalledMessage"/> class.
|
|
/// </summary>
|
|
/// <param name="data">Plugin info.</param>
|
|
public PluginUninstalledMessage(PluginInfo data)
|
|
: base(data)
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
[DefaultValue(SessionMessageType.PackageUninstalled)]
|
|
public override SessionMessageType MessageType => SessionMessageType.PackageUninstalled;
|
|
}
|