Class ContentTypeMapping
Maps content types to file extensions.
Inheritance
System.Object
ContentTypeMapping
Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient.dll
Syntax
public class ContentTypeMapping : object
Constructors
ContentTypeMapping()
Initializes a new instance of the ContentTypeMapping class.
Declaration
public ContentTypeMapping()
Properties
Default
Gets the default instance of the mapper.
Declaration
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.
Declaration
public string GetContentTypeFromFileExtension(string fileExt)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileExt | The file extension. |
Returns
Type | Description |
---|---|
System.String |