Archive for the ‘C#’ Category

XML-RPC for Silverlight updates

I just finished uploading the source for the XmlRpc library for Silverlight.  You can access it at the google code page for xml-rpc for silverlight.  Its work in progress but I believe the library will mature with time. 
I have included some documentation on the Usage wiki page.
/

XML-RPC for Silverlight

I have been looking for a nice implementation of XML-RPC for silverlight for a while now. There are a few good resources out there such as XML-RPC.NET, but they don’t really work on Silverlight.
Silverlight is different, that it only has asynchronous network calls and you can’t really imitate sync calls, which makes [...]

Smarter Dictionaries in C#.Net

Alright, here we go. After a long long long time I have decided to yet again try and maintain a blog.
The other day at work I was trying to use .NET’s Dictionary class to create a hierarchical structure which allows me to do something like this:

torqueInfo[eAvatarGender.male][eJointName.elbow][eJointDirection.extension]
= new TorqueCurves(eAvatarGender.male, eJointName.elbow, eJointDirection.extension);

torqueInfo has been defined as:

Dictionary<eAvatarGender, [...]