AliveTypeExtensions.CreateEntity<TEntity> Method

NOTE: This member is now obsolete.Use objectSpace.Xafari().CreateObject() method instead.

Creates the instance of entity TEntity.

Namespace: Xafari
Assembly: Xafari.BC (in Xafari.BC.dll)

collallSyntax

  • c#
  • VB

[Obsolete("Use objectSpace.Xafari().CreateObject() method instead.")]
public static TEntity CreateEntity<TEntity>(
     this IObjectSpaceobjectSpace
)

<Obsolete("Use objectSpace.Xafari().CreateObject() method instead.")> _
<System.Runtime.CompilerServices.Extension> _
Public Shared Function CreateEntity(Of TEntity)(ByVal ) As IObjectSpaceobjectSpace) As TEntity
End Function

Type Parameters

TEntity

Entity type

 

 

Parameters

objectSpace

Object space

 

 

 

collallRemarks

Finds the real entity type and create the instance of founded type.

collallSee Also