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.

HostConfig.cs 901B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Combot.Configurations
  7. {
  8. public class HostConfig
  9. {
  10. public HostConfig()
  11. {
  12. Host = string.Empty;
  13. Port = 0;
  14. }
  15. private string _Host;
  16. public string Host
  17. {
  18. get
  19. {
  20. return _Host;
  21. }
  22. set
  23. {
  24. if (_Host != value)
  25. {
  26. _Host = value;
  27. }
  28. }
  29. }
  30. private int _Port;
  31. public int Port
  32. {
  33. get
  34. {
  35. return _Port;
  36. }
  37. set
  38. {
  39. if (_Port != value)
  40. {
  41. _Port = value;
  42. }
  43. }
  44. }
  45. }
  46. }