Click or drag to resize

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
C#
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: Boolean
true if the key was in the repository
See Also