2019-01-13 19:54:44 +00:00
|
|
|
using System.Collections.Generic;
|
2016-10-29 22:22:20 +00:00
|
|
|
|
2016-10-29 22:34:54 +00:00
|
|
|
namespace Emby.Dlna.Common
|
2016-10-29 22:22:20 +00:00
|
|
|
{
|
2020-09-13 12:49:11 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Defines the <see cref="ServiceAction" />.
|
|
|
|
/// </summary>
|
2016-10-29 22:22:20 +00:00
|
|
|
public class ServiceAction
|
|
|
|
{
|
2020-09-13 12:49:11 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Initializes a new instance of the <see cref="ServiceAction"/> class.
|
|
|
|
/// </summary>
|
2020-01-22 20:00:07 +00:00
|
|
|
public ServiceAction()
|
|
|
|
{
|
|
|
|
ArgumentList = new List<Argument>();
|
|
|
|
}
|
|
|
|
|
2020-09-13 12:49:11 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the name of the action.
|
|
|
|
/// </summary>
|
|
|
|
public string Name { get; set; } = string.Empty;
|
2016-10-29 22:22:20 +00:00
|
|
|
|
2020-09-13 12:49:11 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets the ArgumentList.
|
|
|
|
/// </summary>
|
2020-08-20 19:04:57 +00:00
|
|
|
public List<Argument> ArgumentList { get; }
|
2016-10-29 22:22:20 +00:00
|
|
|
|
2020-01-22 20:00:07 +00:00
|
|
|
/// <inheritdoc />
|
2020-09-13 12:49:11 +00:00
|
|
|
public override string ToString() => Name;
|
2016-10-29 22:22:20 +00:00
|
|
|
}
|
|
|
|
}
|