/// <summary> /// Initializes a new instance of the <see cref="BindAttribute"/> class. /// </summary> /// <param name="verb">The verb.</param> /// <param name="target">The target.</param> public BindAttribute(BindVerb verb, string target) { if (BindPointUtilities.IsVerbQualified(target)) throw new ApplicationException( String.Format("Bind attributes may not use both the BindVerb and an HTTP Verb in the bind specification: '{0}'", target)); this.target = verb.ToString() + " " + target.Trim(); }