RepositoryInstanceTKey, TValueTryGet Method |
Tries to get a entity for the specified key
Namespace:
Crosser.Common.Utilities.Persistence
Assembly:
Crosser.Common (in Crosser.Common.dll) Version: 0.0.4
Syntax public bool TryGet(
TKey key,
out TValue entity
)
Parameters
- key
- Type: TKey
the generic key to use in the lookup - entity
- Type: TValue
the out parameter that will contain the value if found
Return Value
Type:
Booleantrue if the key was in the repository
See Also