Class IsAReadOnlyDictionaryBase<TKey, TValue>
Inheritance
IsAReadOnlyDictionaryBase<TKey, TValue>
Assembly: OpenSearch.Client.dll
Syntax
public abstract class IsAReadOnlyDictionaryBase<TKey, TValue> : IIsAReadOnlyDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, IIsAReadOnlyDictionary
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
Constructors
|
Edit this page
View Source
IsAReadOnlyDictionaryBase(IReadOnlyDictionary<TKey, TValue>)
Declaration
protected IsAReadOnlyDictionaryBase(IReadOnlyDictionary<TKey, TValue> backingDictionary)
Parameters
Properties
|
Edit this page
View Source
BackingDictionary
Declaration
protected IReadOnlyDictionary<TKey, TValue> BackingDictionary { get; }
Property Value
|
Edit this page
View Source
Count
Declaration
public int Count { get; }
Property Value
|
Edit this page
View Source
this[TKey]
Declaration
public TValue this[TKey key] { get; }
Parameters
Type |
Name |
Description |
TKey |
key |
|
Property Value
|
Edit this page
View Source
Keys
Declaration
public IEnumerable<TKey> Keys { get; }
Property Value
|
Edit this page
View Source
Values
Declaration
public IEnumerable<TValue> Values { get; }
Property Value
Methods
|
Edit this page
View Source
ContainsKey(TKey)
Declaration
public bool ContainsKey(TKey key)
Parameters
Type |
Name |
Description |
TKey |
key |
|
Returns
|
Edit this page
View Source
Sanitize(TKey)
Declaration
protected virtual TKey Sanitize(TKey key)
Parameters
Type |
Name |
Description |
TKey |
key |
|
Returns
|
Edit this page
View Source
TryGetValue(TKey, out TValue)
Declaration
public bool TryGetValue(TKey key, out TValue value)
Parameters
Type |
Name |
Description |
TKey |
key |
|
TValue |
value |
|
Returns
Implements
Extension Methods