af1152b001
Refactored all C# test files to use explicit namespace declarations and moved all using directives inside the namespace block for consistency. Updated assembly info and cache files to reflect the new build. Adjusted MvcTestingAppManifest.json to use fully qualified assembly names. No functional changes; all updates are related to code style, organization, and project metadata.
31 lines
937 B
C#
31 lines
937 B
C#
// <copyright file="SessionsMessage.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace MediaBrowser.Controller.Net.WebSocketMessages.Outbound;
|
|
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using MediaBrowser.Controller.Session;
|
|
using MediaBrowser.Model.Dto;
|
|
using MediaBrowser.Model.Session;
|
|
|
|
/// <summary>
|
|
/// Sessions message.
|
|
/// </summary>
|
|
public class SessionsMessage : OutboundWebSocketMessage<IReadOnlyList<SessionInfoDto>>
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="SessionsMessage"/> class.
|
|
/// </summary>
|
|
/// <param name="data">Session info.</param>
|
|
public SessionsMessage(IReadOnlyList<SessionInfoDto> data)
|
|
: base(data)
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
[DefaultValue(SessionMessageType.Sessions)]
|
|
public override SessionMessageType MessageType => SessionMessageType.Sessions;
|
|
}
|