/// <summary> /// Initializes a new instance of the HttpRouteMatchRule class. /// </summary> /// <param name="path">Path to match for routing.</param> /// <param name="headers">headers and their values to match in /// request.</param> public HttpRouteMatchRule(HttpRouteMatchPath path, IList <HttpRouteMatchHeader> headers = default(IList <HttpRouteMatchHeader>)) { Path = path; Headers = headers; CustomInit(); }
/// <summary> /// Initializes a new instance of the HttpRouteMatchRule class. /// </summary> public HttpRouteMatchRule() { Path = new HttpRouteMatchPath(); CustomInit(); }