summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Interop/Attributes/ShortName.cs
blob: 55df6136ebeafe84992d231d0d90d1d0277c0a8e (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
32
33
34
35
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ShortName.cs" company="HandBrake Project (http://handbrake.fr)">
//   This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
// </copyright>
// <summary>
//   A Short Name for an enum value
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace HandBrake.ApplicationServices.Interop.Attributes
{
    using System;

    /// <summary>
    ///  A Short Name for an enum value
    /// </summary>
    public class ShortName : Attribute
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ShortName"/> class.
        /// </summary>
        /// <param name="shortName">
        /// The short name.
        /// </param>
        public ShortName(string shortName)
        {
            this.Name = shortName;
        }

        /// <summary>
        /// Gets or sets the short name.
        /// </summary>
        public string Name { get; set; }
    }
}