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.
61 lines
2.0 KiB
C#
61 lines
2.0 KiB
C#
// <copyright file="GroupInfoDto.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace MediaBrowser.Model.SyncPlay;
|
|
using global::System;
|
|
using global::System.Collections.Generic;
|
|
|
|
/// <summary>
|
|
/// Class GroupInfoDto.
|
|
/// </summary>
|
|
public class GroupInfoDto
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="GroupInfoDto"/> class.
|
|
/// </summary>
|
|
/// <param name="groupId">The group identifier.</param>
|
|
/// <param name="groupName">The group name.</param>
|
|
/// <param name="state">The group state.</param>
|
|
/// <param name="participants">The participants.</param>
|
|
/// <param name="lastUpdatedAt">The date when this DTO has been created.</param>
|
|
public GroupInfoDto(Guid groupId, string groupName, GroupStateType state, IReadOnlyList<string> participants, DateTime lastUpdatedAt)
|
|
{
|
|
GroupId = groupId;
|
|
GroupName = groupName;
|
|
State = state;
|
|
Participants = participants;
|
|
LastUpdatedAt = lastUpdatedAt;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the group identifier.
|
|
/// </summary>
|
|
/// <value>The group identifier.</value>
|
|
public Guid GroupId { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the group name.
|
|
/// </summary>
|
|
/// <value>The group name.</value>
|
|
public string GroupName { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the group state.
|
|
/// </summary>
|
|
/// <value>The group state.</value>
|
|
public GroupStateType State { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the participants.
|
|
/// </summary>
|
|
/// <value>The participants.</value>
|
|
public IReadOnlyList<string> Participants { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the date when this DTO has been created.
|
|
/// </summary>
|
|
/// <value>The date when this DTO has been created.</value>
|
|
public DateTime LastUpdatedAt { get; }
|
|
}
|