diff options
Diffstat (limited to 'Emby.Dlna/Common/ServiceAction.cs')
| -rw-r--r-- | Emby.Dlna/Common/ServiceAction.cs | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/Emby.Dlna/Common/ServiceAction.cs b/Emby.Dlna/Common/ServiceAction.cs index 5e030d396..02b81a0aa 100644 --- a/Emby.Dlna/Common/ServiceAction.cs +++ b/Emby.Dlna/Common/ServiceAction.cs @@ -2,20 +2,30 @@ using System.Collections.Generic; namespace Emby.Dlna.Common { + /// <summary> + /// Defines the <see cref="ServiceAction" />. + /// </summary> public class ServiceAction { - public string Name { get; set; } - - public List<Argument> ArgumentList { get; set; } - - public override string ToString() - { - return Name; - } - + /// <summary> + /// Initializes a new instance of the <see cref="ServiceAction"/> class. + /// </summary> public ServiceAction() { ArgumentList = new List<Argument>(); } + + /// <summary> + /// Gets or sets the name of the action. + /// </summary> + public string Name { get; set; } = string.Empty; + + /// <summary> + /// Gets the ArgumentList. + /// </summary> + public List<Argument> ArgumentList { get; } + + /// <inheritdoc /> + public override string ToString() => Name; } } |
