Beispiel #1
0
        /// <inheritdoc />
        public TValue this[TKey key]
        {
            get
            {
                IReadOnlyDictionaryContracts.Indexer(this, key);

                return(this.dictionary[key]);
            }
        }
Beispiel #2
0
        /// <inheritdoc />
        public bool TryGetValue(TKey key, out TValue value)
        {
            IReadOnlyDictionaryContracts.TryGetValue(key);

            return(this.dictionary.TryGetValue(key, out value));
        }
Beispiel #3
0
        /// <inheritdoc />
        public bool ContainsKey(TKey key)
        {
            IReadOnlyDictionaryContracts.ContainsKey(key);

            return(this.dictionary.ContainsKey(key));
        }