diff options
| author | Bond-009 <bond.009@outlook.com> | 2026-07-17 13:52:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-17 13:52:59 +0200 |
| commit | 8eb0ba60c1dd32378413e4eb8d1a7264f8859331 (patch) | |
| tree | 511d01c520d4f900da4dd90a205aa59fa39d7195 /MediaBrowser.Model/Session/MessageCommand.cs | |
| parent | 2bf15d95df33dde6fac0a9314f41aa2c8ba8bcad (diff) | |
| parent | 5cbafa566dab227214f60924332cb0e4bfa75b32 (diff) | |
Merge pull request #17344 from mbastian77/docs/session-model-xml-docs
Diffstat (limited to 'MediaBrowser.Model/Session/MessageCommand.cs')
| -rw-r--r-- | MediaBrowser.Model/Session/MessageCommand.cs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/MediaBrowser.Model/Session/MessageCommand.cs b/MediaBrowser.Model/Session/MessageCommand.cs index cc9db8e6c5..e041a9cccd 100644 --- a/MediaBrowser.Model/Session/MessageCommand.cs +++ b/MediaBrowser.Model/Session/MessageCommand.cs @@ -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; } } } |
