Table of Contents

Class MimeTypeMap

Namespace: Casewhere.Common
Assembly: Casewhere.Common.dll

public static class MimeTypeMap

Inheritance

objectMimeTypeMap

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

string

GetMimeType(string)

public static string GetMimeType(string extension)

Parameters

extension string

Returns

string