The easy to use and full featured Irc Bot everyone is talking about!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Option.cs 597B

12345678910111213141516171819202122232425262728
  1. namespace Combot.Modules
  2. {
  3. public class Option
  4. {
  5. public string Name { get; set; }
  6. public string Description { get; set; }
  7. public object Value { get; set; }
  8. public Option()
  9. {
  10. SetDefaults();
  11. }
  12. public void SetDefaults()
  13. {
  14. Name = string.Empty;
  15. Description = string.Empty;
  16. Value = null;
  17. }
  18. public void Copy(Option option)
  19. {
  20. Name = option.Name;
  21. Description = option.Description;
  22. Value = option.Value;
  23. }
  24. }
  25. }