Class ContentTypeMapping
Maps content types to file extensions.
Inheritance
System.Object
ContentTypeMapping
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient.dll
Syntax
public class ContentTypeMapping
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 |