ModelCallbackTEntity Delegate |
Returns the model for the specified entity. A single unique
instance of
ModelPrimitive should be returned
for each given entity.
Namespace:
AGI.Foundation.Tracking
Assembly:
AGI.Foundation.Tracking.Graphics (in AGI.Foundation.Tracking.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public delegate ModelPrimitive ModelCallback<TEntity>(
Transaction transaction,
TEntity entity
)
Public Delegate Function ModelCallback(Of TEntity) (
transaction As Transaction,
entity As TEntity
) As ModelPrimitive
generic<typename TEntity>
public delegate ModelPrimitive^ ModelCallback(
Transaction^ transaction,
TEntity entity
)
type ModelCallback =
delegate of
transaction : Transaction *
entity : 'TEntity -> ModelPrimitive
Parameters
- transaction
- Type: AGI.FoundationTransaction
The transaction to use. - entity
- Type: TEntity
The entity for which to retrieve a model.
Type Parameters
- TEntity
- The type of entity.
Return Value
Type:
ModelPrimitiveThe model to use to represent the entity.
See Also