AliveTypeExtensions.CreateEntity Method

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

Creates the instance of entity entityType.

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

collallSyntax

  • c#
  • VB

[Obsolete("Use objectSpace.Xafari().CreateObject() method instead.")]
public static object CreateEntity(
     this IObjectSpaceobjectSpace,
     TypeentityType
)

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

Parameters

objectSpace

Object space

entityType

Entity type

 

 

 

collallRemarks

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

collallSee Also