Marking InternalDictionary.Dictionary as public. Yes, this goes against the whole point of InternalDictionary, but without doing this InternalDictionary can't be used outside of libomv. A documentation comment has been added to warn users about locking

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2127 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2008-08-21 01:56:48 +00:00
parent c551283fd8
commit dec6db7aaf

View File

@@ -40,7 +40,9 @@ namespace OpenMetaverse
/// <typeparam name="TValue">Value <see langword="TValue"/></typeparam>
public class InternalDictionary<TKey, TValue>
{
internal Dictionary<TKey, TValue> Dictionary;
/// <summary>Internal dictionary that this class wraps around. Do not
/// modify or enumerate the contents of this dictionary without locking</summary>
public Dictionary<TKey, TValue> Dictionary;
/// <summary>
/// Gets the number of Key/Value pairs contained in the <seealso cref="T:InternalDictionary"/>