ServiceAction.cs 786 B

12345678910111213141516171819202122232425262728293031
  1. using System.Collections.Generic;
  2. namespace Emby.Dlna.Common
  3. {
  4. /// <summary>
  5. /// Defines the <see cref="ServiceAction" />.
  6. /// </summary>
  7. public class ServiceAction
  8. {
  9. /// <summary>
  10. /// Initializes a new instance of the <see cref="ServiceAction"/> class.
  11. /// </summary>
  12. public ServiceAction()
  13. {
  14. ArgumentList = new List<Argument>();
  15. }
  16. /// <summary>
  17. /// Gets or sets the name of the action.
  18. /// </summary>
  19. public string Name { get; set; } = string.Empty;
  20. /// <summary>
  21. /// Gets the ArgumentList.
  22. /// </summary>
  23. public List<Argument> ArgumentList { get; }
  24. /// <inheritdoc />
  25. public override string ToString() => Name;
  26. }
  27. }