コード例 #1
0
 /// <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");
 }
コード例 #2
0
 /// <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);
 }