Exemplo n.º 1
0
            bool IReadOnlyDictionary <TDestinationKey, TDestination> .TryGetValue(TDestinationKey key, out TDestination value)
            {
                bool result = InnerDictionary.TryGetValue((TSourceKey)key, out TSource _value);

                value = _value;

                return(result);
            }
Exemplo n.º 2
0
 public DestinationContainer(TDestination item, TDestinationKey key)
 {
     Item = item;
     Key  = key;
 }
Exemplo n.º 3
0
 bool IReadOnlyDictionary <TDestinationKey, TDestination> .ContainsKey(TDestinationKey key) => InnerDictionary.ContainsKey((TSourceKey)key);