/// <summary> /// Remove a content handler for the specified MIME content type /// </summary> /// <param name="contentType">MIME content type to remove</param> public void RemoveHandler(string contentType) { ContentHandlers.Remove(contentType); AcceptTypes.Remove(contentType); this.RemoveDefaultParameter("Accept"); }
/// <summary> /// Remove a content handler for the specified MIME content type /// </summary> /// <param name="contentType">MIME content type to remove</param> public void RemoveHandler(string contentType) { ContentHandlers.Remove(contentType); AcceptTypes.Remove(contentType); }