Class FileType
Class FileType.
Inheritance
System.Object
FileType
Namespace: ISynergy.Framework.Core.Models
Assembly: ISynergy.Framework.Core.dll
Syntax
public sealed class FileType : object
Constructors
View SourceFileType(Int32, String, String, Boolean, String)
Initializes a new instance of the FileType class.
Declaration
public FileType(int id, string description, string extension, bool isImage, string contentType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | id | The identifier. |
| System.String | description | The description. |
| System.String | extension | The extension. |
| System.Boolean | isImage | if set to |
| System.String | contentType | Type of the content. |
Properties
View SourceContentType
Gets or sets the ContentType property value.
Declaration
public string ContentType { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The type of the content. |
Description
Gets or sets the description.
Declaration
public string Description { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The description. |
Extension
Gets or sets the Extension property value.
Declaration
public string Extension { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The extension. |
FileTypeId
Gets or sets the FileTypeId property value.
Declaration
public int FileTypeId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The file type identifier. |
IsImage
Gets or sets the IsImage property value.
Declaration
public bool IsImage { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|