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:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user