Gets the specified entity from the cache.

Namespace:  Mindscape.LightSpeed.Caching
Assembly:  Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
public Entity Get(
	Type entityType,
	Object id
)
Visual Basic (Declaration)
Public Function Get ( _
	entityType As Type, _
	id As Object _
) As Entity

Parameters

entityType
Type: System..::.Type
The type of the cached entity.
id
Type: System..::.Object
The id.

Return Value

An Entity or null.

See Also