Example #1
0
 /// <summary>
 /// Determines whether this instance [can respond to MIME type] the specified MIME type.
 /// </summary>
 /// <param name="mimeType">Type of the MIME.</param>
 /// <returns>
 ///     <c>true</c> if this instance [can respond to MIME type] the specified MIME type; otherwise, <c>false</c>.
 /// </returns>
 public virtual bool CanRespondToMimeType(string mimeType)
 {
     return(SupportedMimeTypes.Any(mt => mt.Equals(mimeType, StringComparison.OrdinalIgnoreCase)));
 }