Generated by DocFX

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 Source

FileType(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 true [is image].

System.String contentType

Type of the content.

Properties

View Source

ContentType

Gets or sets the ContentType property value.

Declaration
public string ContentType { get; }
Property Value
Type Description
System.String

The type of the content.

View Source

Description

Gets or sets the description.

Declaration
public string Description { get; }
Property Value
Type Description
System.String

The description.

View Source

Extension

Gets or sets the Extension property value.

Declaration
public string Extension { get; }
Property Value
Type Description
System.String

The extension.

View Source

FileTypeId

Gets or sets the FileTypeId property value.

Declaration
public int FileTypeId { get; }
Property Value
Type Description
System.Int32

The file type identifier.

View Source

IsImage

Gets or sets the IsImage property value.

Declaration
public bool IsImage { get; }
Property Value
Type Description
System.Boolean

true if this instance is image; otherwise, false.

Extension Methods

Matrix.Replace<T>(T, Object, Object)
Matrix.IsEqual(Object, Object, Decimal, Decimal)
EntityBaseExtensions.HasProperty(Object, String)
ArrayExtensions.Concatenate<T>(T, T[])
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>, Func<TSource, Boolean>)
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>)
ObjectExtensions.Clone<T>(T)
ObjectExtensions.To<T>(Object)
ObjectExtensions.To(Object, Type)
ObjectExtensions.HasMethod(Object, String)
ObjectExtensions.AddressOf<T>(T)
ReflectionExtensions.GetIdentityValue<T>(T)
ReflectionExtensions.GetIdentityValue<T, TResult>(T)
ReflectionExtensions.GetIdentityProperty<T>(T)
ReflectionExtensions.HasIdentityProperty<T>(T)
ReflectionExtensions.GetPropertyValue<T, TResult>(T, String, TResult)
ReflectionExtensions.GetPropertyInfo<T, TValue>(T, Expression<Func<T, TValue>>)
ReflectionExtensions.GetTitleValue<T>(T)
ReflectionExtensions.HasParentIdentityProperty<T>(T)
ReflectionExtensions.GetParentIdentityProperty<T>(T)
ReflectionExtensions.IsFreeApplication<T>(T)