/// <summary> /// Initializes a new instance of the <see cref="HostIndependentHttpMethodConstraint"/> class. /// </summary> /// <param name="method">The method.</param> public HostIndependentHttpMethodConstraint(string method) { aspNetConstraint = new HttpMethodConstraint(method); selfHostConstraint = new Routing.HttpMethodConstraint(new HttpMethod(method)); }
/// <summary> /// Initializes a new instance of the <see cref="HostIndependentHttpMethodConstraint"/> class. /// </summary> /// <param name="method">The method.</param> public HostIndependentHttpMethodConstraint(string method) { aspNetConstraint = new HttpMethodConstraint(method); selfHostConstraint = new Routing.HttpMethodConstraint(new HttpMethod(method)); }