* Added lots of members to Agent, preparing for serialization
* Added Clear() and Count to DoubleDictionary
* Moved CreateCircuit and unassociatedAgents functionality out of Simian core and into UDPServer extension

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2237 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2008-09-24 14:55:52 +00:00
parent 48aa4a6c19
commit 8eef021fa7
5 changed files with 275 additions and 25 deletions

View File

@@ -39,6 +39,20 @@ namespace Simian
}
}
public void Clear()
{
lock (syncObject)
{
Dictionary1.Clear();
Dictionary2.Clear();
}
}
public int Count
{
get { return Dictionary1.Count; }
}
public bool TryGetValue(TKey1 key, out TValue value)
{
return Dictionary1.TryGetValue(key, out value);