Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Static Public Member Functions | List of all members
Smooth.Collections.IDictionaryExtensions Class Reference

Extension methods for IDictionary<>s. More...

Static Public Member Functions

static Option< V > TryGet< K, V > (this IDictionary< K, V > dictionary, K key)
 Analog to IDictionary<K, V>.TryGetValue(K, out V) that returns an option instead of using an out parameter. More...
 

Detailed Description

Extension methods for IDictionary<>s.

Member Function Documentation

static Option<V> Smooth.Collections.IDictionaryExtensions.TryGet< K, V > ( this IDictionary< K, V >  dictionary,
key 
)
inlinestatic

Analog to IDictionary<K, V>.TryGetValue(K, out V) that returns an option instead of using an out parameter.


The documentation for this class was generated from the following file: