Map<K, V>

Map<K, V> replaces Dictionary<>, in addition to having the BeanMap feature set. I'll cover some key new functions here.

public Func<K, V> DefaultGeneration

Allows you to specify a default generation to take on new keys. See DefaultGeneration.

public V DefaultValue

Allows you to specify a default value to return for nonexistent keys. See DefaultValue.

public List<KeyValueSet<K, V>> KeyValues

Return a strong types list of KeyValues. Each Map class have a version of KeyValues, simplifying iteration syntax.

Last edited Jun 24, 2011 at 8:33 PM by payonel, version 7

Comments

No comments yet.