A delegate that mimics the Item[([( K])]) access.

Namespace: yWorks.Canvas.Model
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
public delegate V MapperDelegate<K, V>( K key )
Visual Basic
Public Delegate Function MapperDelegate(Of K, V) ( _ key As K _ ) As V

Parameters

key
Type: K
The key to lookup the value for.

Type Parameters

K
The type of the key to use.
V
The type of the value to use.

Return Value

The value or a suitable default.

See Also