Determines whether an item with the supplied is in the cache.
Namespace:
Mindscape.LightSpeed.CachingAssembly: Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
public bool Contains( Type entityType, Object id ) |
Visual Basic (Declaration) |
---|
Public Function Contains ( _ entityType As Type, _ id As Object _ ) As Boolean |
Parameters
- entityType
- Type: System..::.Type
The type of the cached entity.
- id
- Type: System..::.Object
The id of the item.