Exemplo n.º 1
0
 public TValue this[TKey key]
 {
     get
     {
         return collection[key].Value;
     }
     set
     {
         if (collection.Contains(key))
             collection[key].Value = value;
         else
             Add(key, value);
     }
 }
Exemplo n.º 2
0
 public bool Contains(IMenuInfo item) => InternalCollection.Contains(item);
Exemplo n.º 3
0
 public bool ContainsKey(TKey key)
 {
     return(collection.Contains(key));
 }
Exemplo n.º 4
0
 public bool Contains(TKey item) => internalCollection.Contains(item);