Ejemplo n.º 1
0
 public TValue GetValueOrCreate(TKey key, Func <TKey, TValue> factory)
 {
     return(IDictionaryExtensions.GetValueOrCreate(_key2ValueDictionary, key, factory));
 }
Ejemplo n.º 2
0
 public TKey GetKeyOrCreate(TValue value, Func <TValue, TKey> factory)
 {
     return(IDictionaryExtensions.GetValueOrCreate(_value2KeyDictionary, value, factory));
 }