Search found 3 matches
- 04 Nov 2010, 13:39
- Forum: Silverlight API
- Topic: HandleRoomAdded (buged bool.parse)
- Replies: 0
- Views: 9548
HandleRoomAdded (buged bool.parse)
I found an other error on the HandleRoomAdded function. the boolean parsing was throwing exception. To fix it change: isTemp = bool.Parse(xml.Element("body").Element("rm").Attribute("temp").Value); To: isTemp = int.Parse(xml.Element...
- 03 Nov 2010, 17:08
- Forum: Silverlight API
- Topic: Buged Xml2obj
- Replies: 0
- Views: 9222
Buged Xml2obj
Just found an other bug. File SFSObjectSerializer, on function private void Xml2obj(XElement xmlNode, SFSObject ao, int depth) The foreach is wrong. Now it's like this: foreach (XElement subNode in xmlNode.Descendants()) But it should be: foreach (XElement subNode in xmlN...
- 03 Nov 2010, 13:49
- Forum: Silverlight API
- Topic: Incompatibility User.GetVariable(string)
- Replies: 0
- Views: 9525
Incompatibility User.GetVariable(string)
I found a big problem for compatibility with Silverlight and C# APIs. The C# uses a Hashtable, and if you try to get a variable and the key is not present on the Hashtable, it returns null. On the other hand, the Silverlight API uses a Dictionary, and in that case, if you try to get a variable and t...