PostSharpAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Keyed­Collection<TKey, TItem>Get­Key­For­Item
Open sandboxFocus

AdvisableKeyedCollection<TKey, TItem>.GetKeyForItem Method

GetKeyForItem(TItem)

Extracts the key from the specified element.

Declaration
protected abstract TKey GetKeyForItem(TItem item)
Parameters
Type Name Description
TItem item

The element from which to extract the key.

Returns
Type Description
TKey

The key for the specified element.