/// <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 HttpRouteConfig class. /// </summary> public HttpRouteConfig() { Match = new HttpRouteMatchRule(); CustomInit(); }