You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

OutboundConfigurationObject.cs 538 B

12345678910111213141516171819202122
  1. using System.Collections.Generic;
  2. namespace Shadowsocks.Interop.V2Ray.Protocols.Shadowsocks
  3. {
  4. public class OutboundConfigurationObject
  5. {
  6. public List<ServerObject> Servers { get; set; }
  7. public OutboundConfigurationObject()
  8. {
  9. Servers = new();
  10. }
  11. public OutboundConfigurationObject(string address, int port, string method, string password)
  12. {
  13. Servers = new()
  14. {
  15. new(address, port, method, password),
  16. };
  17. }
  18. }
  19. }