- Moved commands outside TechBot.Library to TechBot.Commands.Common and TechBot.Comma...
[reactos.git] / irc / TechBot / TechBot.Library / Attributes / CommandAttribute.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Text;
4
5 namespace TechBot.Library
6 {
7 public class CommandAttribute : Attribute
8 {
9 private string m_Name = null;
10 private string m_Help = "No help for this command is available";
11 private string m_Desc = "No description for this command is available";
12
13 public CommandAttribute(string name)
14 {
15 m_Name = name;
16 }
17
18 public string Name
19 {
20 get { return m_Name; }
21 }
22
23 public string Help
24 {
25 get { return m_Help; }
26 set { m_Help = value; }
27 }
28
29 public string Description
30 {
31 get { return m_Desc; }
32 set { m_Desc = value; }
33 }
34 }
35 }