aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/Common/ServiceAction.cs
blob: 02b81a0aa74de6dc1bf78d19c686996d746a4ec6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System.Collections.Generic;

namespace Emby.Dlna.Common
{
    /// <summary>
    /// Defines the <see cref="ServiceAction" />.
    /// </summary>
    public class ServiceAction
    {
        /// <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;
    }
}