コード例 #1
0
 /// <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();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the HttpRouteConfig class.
 /// </summary>
 public HttpRouteConfig()
 {
     Match = new HttpRouteMatchRule();
     CustomInit();
 }