StartProcessConfig.cs 673 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using System.ComponentModel;
  2. namespace ET
  3. {
  4. public partial class StartProcessConfigCategory
  5. {
  6. public override void EndInit()
  7. {
  8. }
  9. }
  10. public partial class StartProcessConfig: ISupportInitialize
  11. {
  12. private string innerAddress;
  13. public string InnerAddress
  14. {
  15. get
  16. {
  17. if (this.innerAddress == null)
  18. {
  19. this.innerAddress = $"{StartMachineConfigCategory.Instance.Get(this.MachineId)}:{this.InnerPort}";
  20. }
  21. return this.innerAddress;
  22. }
  23. }
  24. public string OuterIP
  25. {
  26. get
  27. {
  28. return StartMachineConfigCategory.Instance.Get(this.MachineId).OuterIP;
  29. }
  30. }
  31. public void BeginInit()
  32. {
  33. }
  34. public void EndInit()
  35. {
  36. }
  37. }
  38. }