- Set better/updated default values
[reactos.git] / irc / TechBot / TechBot.Library / Attributes / CommandParameterAliasAttribute.cs
1 using System;
2
3 namespace TechBot.Library
4 {
5 /// <summary>
6 /// This class implements an alias attribute to work in conjunction
7 /// with the <see cref="CommandLineSwitchAttribute">CommandLineSwitchAttribute</see>
8 /// attribute. If the CommandLineSwitchAttribute exists, then this attribute
9 /// defines an alias for it.
10 /// </summary>
11 [AttributeUsage( AttributeTargets.Property )]
12 public class CommandParameterAliasAttribute : Attribute
13 {
14 #region Private Variables
15 protected string m_Alias = "";
16 #endregion
17
18 #region Public Properties
19 public string Alias
20 {
21 get { return m_Alias; }
22 }
23
24 #endregion
25
26 #region Constructors
27 public CommandParameterAliasAttribute(string alias)
28 {
29 m_Alias = alias;
30 }
31 #endregion
32 }
33
34 }