Add XML docs to small session model types and remove CS1591 suppressions

This commit is contained in:
mbastian77
2026-07-15 16:03:56 +02:00
parent b6882c86dc
commit 5cbafa566d
5 changed files with 58 additions and 8 deletions
+12 -1
View File
@@ -1,17 +1,28 @@
#nullable disable
#pragma warning disable CS1591
using System.ComponentModel.DataAnnotations;
namespace MediaBrowser.Model.Session
{
/// <summary>
/// A command to display a message on a client.
/// </summary>
public class MessageCommand
{
/// <summary>
/// Gets or sets the message header.
/// </summary>
public string Header { get; set; }
/// <summary>
/// Gets or sets the message text.
/// </summary>
[Required(AllowEmptyStrings = false)]
public string Text { get; set; }
/// <summary>
/// Gets or sets the timeout in milliseconds after which the message should be dismissed.
/// </summary>
public long? TimeoutMs { get; set; }
}
}