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
| Type | Description |
|---|---|
| ContentTypeMapping | The default instance of the mapper. |
Methods
GetContentTypeFromFileExtension(string)
Gets the content type from the file extension.
public string GetContentTypeFromFileExtension(string fileExt)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fileExt | The file extension. |
Returns
| Type | Description |
|---|---|
| string |