/// <summary>
 /// Initializes a new instance of the HttpRouteConfig class.
 /// </summary>
 /// <param name="name">http route name.</param>
 /// <param name="match">Describes a rule for http route
 /// matching.</param>
 /// <param name="destination">Describes destination endpoint for
 /// routing traffic.</param>
 public HttpRouteConfig(string name, HttpRouteMatchRule match, GatewayDestination destination)
 {
     Name        = name;
     Match       = match;
     Destination = destination;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the TcpConfig class.
 /// </summary>
 /// <param name="name">tcp gateway config name.</param>
 /// <param name="port">Specifies the port at which the service endpoint
 /// below needs to be exposed.</param>
 /// <param name="destination">Describes destination endpoint for
 /// routing traffic.</param>
 public TcpConfig(string name, int port, GatewayDestination destination)
 {
     Name        = name;
     Port        = port;
     Destination = destination;
     CustomInit();
 }