Class MimeTypeMap
Namespace: Casewhere.Common
Assembly: Casewhere.Common.dll
public static class MimeTypeMap
Inheritance
Inherited Members
object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()
Extension Methods
ObjectExtension.ConvertToBsonValue(object)
Methods
GetExtension(string, bool)
public static string GetExtension(string mimeType, bool throwErrorIfNotFound = true)
Parameters
mimeType
string
throwErrorIfNotFound
bool
Returns
GetMimeType(string)
public static string GetMimeType(string extension)
Parameters
extension
string