Table of Contents

Class TypeExtensions

Namespace
GroupeIsa.Neos.Domain
Assembly
GroupeIsa.Neos.Domain.Abstractions.dll

Represents Type extensions.

public static class TypeExtensions
Inheritance
TypeExtensions
Inherited Members

Methods

GetBaseEntityTypes(Type)

Gets the assignable base entity types from an entity type.

public static IList<Type> GetBaseEntityTypes(this Type entityType)

Parameters

entityType Type

The entity type.

Returns

IList<Type>

The base entity types.

GetBusinessEntityTypes(Type, bool)

Gets the assignable entity types from an entity type.

public static IList<Type> GetBusinessEntityTypes(this Type entityType, bool includeBaseTypes)

Parameters

entityType Type

The entity type.

includeBaseTypes bool

Indicates whether the base types is included to the result or not.

Returns

IList<Type>

The entity types.