Interface IProviderDictionary<TKey, TValue>
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Represents a generic implementation of provider dictionary.
public interface IProviderDictionary<in TKey, TValue> : IProviderDictionary
Type Parameters
TKeyTValue
- Inherited Members
- Extension Methods
Methods
Add(TKey, TValue)
Adds the specified object.
void Add(TKey key, TValue value)
Parameters
keyTKeyKey to add
valueTValueValue
ContainsKey(TKey)
Returns true if the table contains specified record.
bool ContainsKey(TKey key)
Parameters
keyTKeyKey to check
Returns
- bool
Remove(TKey)
Removes the specified object.
void Remove(TKey key)
Parameters
keyTKeyKey to remove
TryGetValue(TKey, out TValue)
Returns true if the table contains specified record.
bool TryGetValue(TKey key, out TValue value)
Parameters
keyTKeyKey to check
valueTValueReturns the object value if the object is present
Returns
- bool