[This is preliminary documentation and is subject to change.]
The InternalDictionary class is used through the library for storing key/value pairs.
It is intended to be a replacement for the generic Dictionary class and should
be used in its place. It contains several methods for allowing access to the data from
outside the library that are read only and thread safe.
Namespace:
OpenMetaverseAssembly: OpenMetaverse (in OpenMetaverse.dll) Version: 1.0.0.20057
Syntax
| C# | Visual Basic | Visual C++ |
public class InternalDictionary<TKey, TValue>
Public Class InternalDictionary(Of TKey, TValue)
generic<typename TKey, typename TValue> public ref class InternalDictionary
Type Parameters
- TKey
- Key Tkey
- TValue
- Value TValue
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| InternalDictionary<(Of <(TKey, TValue>)>)()()() |
Initializes a new instance of the Class
with the specified key/value, has the default initial capacity.
| |
| InternalDictionary<(Of <(TKey, TValue>)>)(IDictionary<(Of <(TKey, TValue>)>)) |
Initializes a new instance of the Class
with the specified key/value, has its initial valies copied from the specified
| |
| InternalDictionary<(Of <(TKey, TValue>)>)(Int32) |
Initializes a new instance of the Class
with the specified key/value, With its initial capacity specified.
| |
| ContainsKey(TKey) | Check if Key exists in Dictionary | |
| ContainsValue(TValue) | Check if Value exists in Dictionary | |
| Count |
Gets the number of Key/Value pairs contained in the | |
| Find(Predicate<(Of <(TValue>)>)) |
Finds the specified match.
| |
| FindAll(Predicate<(Of <(TKey>)>)) | Find All items in an | |
| FindAll(Predicate<(Of <(TValue>)>)) | Find All items in an | |
| ForEach(Action<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) |
Perform an on each KeyValuePair of an | |
| ForEach(Action<(Of <(TKey>)>)) | Perform an on each key of an | |
| ForEach(Action<(Of <(TValue>)>)) | Perform an on each entry in an | |
| Item[([(TKey])]) |
Indexer for the dictionary
| |
| TryGetValue(TKey, TValue%) |
Try to get entry from with specified key
|
