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.
65 lines
1.9 KiB
C#
65 lines
1.9 KiB
C#
// <copyright file="GroupMember.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace MediaBrowser.Controller.SyncPlay
|
|
{
|
|
#nullable disable
|
|
|
|
using System;
|
|
using MediaBrowser.Controller.Session;
|
|
|
|
/// <summary>
|
|
/// Class GroupMember.
|
|
/// </summary>
|
|
public class GroupMember
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="GroupMember"/> class.
|
|
/// </summary>
|
|
/// <param name="session">The session.</param>
|
|
public GroupMember(SessionInfo session)
|
|
{
|
|
SessionId = session.Id;
|
|
UserId = session.UserId;
|
|
UserName = session.UserName;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the identifier of the session.
|
|
/// </summary>
|
|
/// <value>The session identifier.</value>
|
|
public string SessionId { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the identifier of the user.
|
|
/// </summary>
|
|
/// <value>The user identifier.</value>
|
|
public Guid UserId { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the username.
|
|
/// </summary>
|
|
/// <value>The username.</value>
|
|
public string UserName { get; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the ping, in milliseconds.
|
|
/// </summary>
|
|
/// <value>The ping.</value>
|
|
public long Ping { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether this member is buffering.
|
|
/// </summary>
|
|
/// <value><c>true</c> if member is buffering; <c>false</c> otherwise.</value>
|
|
public bool IsBuffering { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether this member is following group playback.
|
|
/// </summary>
|
|
/// <value><c>true</c> to ignore member on group wait; <c>false</c> if they're following group playback.</value>
|
|
public bool IgnoreGroupWait { get; set; }
|
|
}
|
|
}
|