Table of Contents

Class ContentTypeMapping

Namespace
DocuWare.Platform.ServerClient
Assembly
DocuWare.Platform.ServerClient.dll

Maps content types to file extensions.

public class ContentTypeMapping
Inheritance
ContentTypeMapping
Inherited Members

Constructors

ContentTypeMapping()

Initializes a new instance of the ContentTypeMapping class.

public ContentTypeMapping()

Properties

Default

Gets the default instance of the mapper.

public static ContentTypeMapping Default { get; }

Property Value

TypeDescription
ContentTypeMapping

The default instance of the mapper.

Methods

GetContentTypeFromFileExtension(string)

Gets the content type from the file extension.

public string GetContentTypeFromFileExtension(string fileExt)

Parameters

TypeNameDescription
stringfileExt

The file extension.

Returns

TypeDescription
string